Originally posted by CeleronXT
If you replace the space with a newline it makes a lot of sense:
PHP Code:
if ($foo) {
bar();
} else
if ($bar) {
foo();
}
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
Useful Links for Guests:
If you are having problems posting in the relevant areas for your software, please see this topic.
if ($foo) {
bar();
} else
if ($bar) {
foo();
}
if ($condition==true)
{
}
else
{
}
if ($condition==true) {
} else {
}
if (condition)
{
// do something here
}
elseif (condition)
{
// do something else
}
else
{
// do something else
}
Comment