Discussion – Lesson 6 - Conditions in PHP
BackComments
3 messages from 3 displayed.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
Comments
how about use curly braces in the end of condition?
if ($a == 0){
echo "blah blah blag";
}
else if {
echo "blah blah nah";
}
else {
echo "nanana";
}
//something like this
You can if you want to. It won't change the meaning.
3 messages from 3 displayed.