PHP if...else..if Conditional Statement

 

<?php
$t = date("H");

if ($t < "20") {
  echo "ravi";
}
?>

Optional default code goes here

No comments:

Powered by Blogger.