MeisterLeo: Blätterfunktion

Beitrag lesen

Hallo,

ich habe das nun so gemacht, zwar wird das richtige in der adresszeile anhgzeit, aber "blättern" tut es immernoch nicht.

  
if ($start + $limit < $total)  
{  
$newStart = $start + $limit;  
echo "<a href=".basename($_SERVER["PHP_SELF"])."start=".$newStart.">vor</a>";  
}  

vielleich noch einige informationen:

  
$start = (isset($_GET['start'])) ? abs((int)$_GET['start']) : 0;  
$limit = 2;  
$resultID = @mysql_query("SELECT COUNT(ID) FROM  table ");  
$total    = @mysql_result($resultID,0);  
$start    = ($start >= $total) ? $total - $limit : $start;  

vielleicht kann mir jemand weiterhelfen, da ein neues thread dafür doof wäre.

Grüße
MeisterLEO