I am writing an article script and just want to see what is the best way to construct a while loop to show between 0 and 10 then offer links to different pages etc for 10 to 20. Currently its something like:
while($row = mysql_fetch_array($query)) {
echo "<tr><td>$row[id]</td><td>$row[title]</td></tr>";
}