The if statement


SUBMITTED BY: henry1874w

DATE: June 12, 2017, 4:08 p.m.

FORMAT: Text only

SIZE: 135 Bytes

HITS: 278

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <?php
  5. $t = date("H");
  6. if ($t < "20") {
  7. echo "Have a good day!";
  8. }
  9. ?>
  10. </body>
  11. </html>

comments powered by Disqus