search page offset limit
Posted: Tue Jan 07, 2003 7:31 pm
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?
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?