I'm training some PHP, and need some help ^^
I have this code:
<?php $d=date("H"); if ($d=="18") echo "Good Evening!"; elseif ($d=="19") echo "Something"; else echo "Something went wrong :/ "; ?>
It should say different things depending on the time, if we say that the clock is 18, the code should say "Good Evening". If it's 19, it should say something else. Do you understand? ^^
Now, the code don't work, and i wonder if you fellows know what could be wrong?