Quote:
Originally Posted by xXziroXx
Example:
PHP Code:
function BLAH()
{ // See? NEW LINE!
if (lawl == "xXx") { // See? NO NEW LINE!
}
}
|
Any logic behind that? Seems a little hard to follow.
Twinny -- why don't you use brackets for one statement? They make it a lot cleaner, and neater, and if you need to adjust something it looks better.
PHP Code:
if ( foo )
{
doSomething();
}