http://php.flashwebhost.com/sherly/numbers.php

Code:
<?php
// Number comparison
  $a='3';
  $b='8';
 if ($a<$b)
 {
 echo $a. 'is smaller than'.$b;
 }