Variable in while loop
<pre><code>&lt;?php

$countStart = some value from sql query for example 1;
$pageLimit = some value from sql query for example 5;

$i = $countStart;
while($i&lt;=$pageLimit)
      {
      echo "The number is " . $i . "&lt;br /&gt;";
      $i++;
      }
?&gt;
</code></pre>

<p>If I put while($i&lt;=5) it works. What am I doing wrong in above code? Thank you in advance.</p>
