greater than but less than php code example Example: php if less than number <?php if ($a > $b) echo "a is bigger than b"; ?>