php if : statement code example
Example 1: php if
<?php
if ($a > $b)
echo "a is bigger than b";
?>
Example 2: if statement php
if (condition) {
expression
}
<?php
if ($a > $b)
echo "a is bigger than b";
?>
if (condition) {
expression
}