Answers for "if else php endif"

PHP
1

php endif

<?php
$a = 4;
if($a < 5):
  echo "Less than five";
endif;
?>
Posted by: Guest on March-31-2021
0

php else

<?php
if ($a > $b) {
  echo "a is greater than b";
} else {
  echo "a is NOT greater than b";
}
?>
Posted by: Guest on April-23-2020

Browse Popular Code Answers by Language