PHP – If-Else Code statement

If Else PHP Code example

— Code ——————————

<?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”
;
}
?>

———————————

This entry was posted in PHP. Bookmark the permalink.

Leave a Reply

Your email address will not be published.