Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP if...else...elseif Statements

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

if ($t < "20") {
  echo "Have a good day!";
}
?>
Source by davidwalsh.name #
 
PREVIOUS NEXT
Tagged: #PHP #Statements
ADD COMMENT
Topic
Name
1+3 =