Do not use single quotes for numbers

$a = 3;
$b = 8;



Quote Originally Posted by sherlyk View Post
http://php.flashwebhost.com/sherly/numbers.php

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