Menu
Hey, I am learning PHP, and I understand it so far…but..lol…What does the ‘{‘ stand for in the code?
Is it like a selector?
[CODE]
<?php
if ($numTries > 10) {
$msg = ‘Blocking your account…’;
}
else {
$msg = ‘Welcome!’;
}
?>
And more complex, nested:
[CODE]
<?php
if ($day == ‘Thursday’) {
if ($time == ‘0800’) {
if ($country == ‘UK’) {
$meal = ‘bacon and eggs’;
}
}
}
?>
Man, I am loving PHP!