php if..else conditional statement

 <?php

$t = date("H");

if ($t < "20") {
  echo "Have a good day!";
}
?>
Optional default code goes here

0 comments:

Post a Comment