Hi Christian,
Follow this example to do what you want.
First off all, you need to include a condition at the start of the page, like this:
<?
if($start) { ?> // This conditions is to verify in which page we'll start
//put your HTML HEADER code here
<?
$eu = ($start - 1);
$limit = 25;
$this = $eu + $limit;
$back = $eu - $limit;
$next = $eu + $limit;
$pro = $next + 1;
$ant = $back + 1;
$query = "select * from anything order by id desc";
$go2 = mysql_query($query);
$nume = mysql_numrows($go2);
$tes = mysql_query("select * from anything order by id desc limit $eu,$limit");
while($noticia = mysql_fetch_array($tes)) {
//Print the results
}
if($ant >= 1) {
print "<a href=\"$PHP_SELF?string=$string&start=$ant\" target=_self>Prev</a> | ";
}
if($this < $nume) {
print "<a href=\"$PHP_SELF?string=$string&start=$pro\" target=_self>Next</a>";
}
} //Close the first 'if' condition
?>
To call the page that you want, use this:
page.php?start=1
It will start showing the first 25 results.