how to check if a number is more than or less then in php code example Example: php if less than number <?php if ($a > $b) echo "a is bigger than b"; ?>