Can anyone help me resolve this issue?
The links work fine, but like the Energizer Bunny.... it keeps going and going even after the records run out.
<?
if (isset($_GET['start']))
{
$start = $_GET['start'];
} else {
$start = 0;
}
for($i = $start; $i < $start + 10; $i++) {
if ($i == $start + 9) {
echo "<a class=lnk href=page.php?start=".($i+1).">Next page ยป</a>";
}
}
?>
Thanks,
xsfssg