Page 1 of 1

search page offset limit

Posted: Tue Jan 07, 2003 7:31 pm
by blurrblurr
hi
I need to do a search engine below is my script

if ($row = mysql_fetch_array($result)) {

do {
PRINT "Name: </b> ";
print $row["name"];
print ("<p>");
} while($row = mysql_fetch_array($result));
} else {print "Sorry, no records were found!";}

There are hundreds of result how do I offset to 20 result per page?

Posted: Tue Jan 07, 2003 7:45 pm
by volka
perform a search on all these terms "limit per page" and you will find plenty of threads about this topic here ;)