Simple PHP IF Statement Does Not Evaluate Correctly
<p>This PHP IF statement always results in 'false' and I can't figure out why. Any help is greatly appreciated.</p>

<p>Where $i is passed in as 0 and $j is passed in as 4 (these numbers were verified in the POST)</p>

<pre><code>$i = $_POST['entry'];
$j = $_POST['j'];

function tabs() {
  if ($i &lt; $j)
    echo 'i is less than j';
  else
    echo 'false';
};
</code></pre>
