PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
blurrblurr
Forum Newbie
Posts: 3 Joined: Tue Jan 07, 2003 7:31 pm
Post
by blurrblurr » 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?
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Tue Jan 07, 2003 7:45 pm
perform a
search on all these terms "limit per page" and you will find plenty of threads about this topic here