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