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
www.xsarus.nl
----- Original Message -----
From: "David Drummond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 3:22 PM
Subject: [PHP-DB] Search results
HI
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,
Dave
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]