Use in your select-query 'LIMIT'. (See MySQL manual)
It's possible then to specify the range and the startingpoint. So?

Only the right buttons: <a href='x.php?start=$begin+$numberperpage>... --->
, <a href='x.php?start=20> i.e.

Simple, isn't?
Daniel Kieviet
Xsarus Internetdiensten

----- Original Message -----
From: "David Drummond" <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 3:22 PM
Subject: [PHP-DB] Search results


Can anyone tell me what is the best way to implement displaying multiple
search results using next and previous buttons to cycle through all the
results.  I see this method done on a lot of sites but don't know how to do
it in PHP.

Thanks in advance,


PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to