<?php
$countStart = some value from sql query for example 1;
$pageLimit = some value from sql query for example 5;
$i = $countStart;
while($i<=$pageLimit)
{
echo "The number is " . $i . "<br />";
$i++;
}
?>
如果我把 while($i<=5) 它工作。我在上面的代码中做错了什么?先感谢您。