Answers for "an else does happen if the if statement is true php"

PHP
15

php elseif

<?php
if ($a > $b) {
    echo "a is bigger than b";
} elseif ($a == $b) {
    echo "a is equal to b";
} else {
    echo "a is smaller than b";
}
?>
Posted by: Guest on April-23-2020

Code answers related to "an else does happen if the if statement is true php"

Browse Popular Code Answers by Language