Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php if elseif g

$a = random_int(0, 10);
$b = random_int(0, 10);
if ($a > $b) {
  echo 'a is greater than b';
} elseif ($a == $b) {
  echo 'a is equal to b';
} else {
  echo 'a is less than b';
}
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #elseif
ADD COMMENT
Topic
Name
7+3 =