Re: next and previous buttons performing on a query
| From: | Chris Hewitt | Date: | Thu, 13 Jun 2002 14:31:30 +0000 |
| Subject: | Re: next and previous buttons performing on a query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101969@lists.php.net to get a copy of this message | ||
Wilbert,
Use the LIMIT tag in your select statement. You can also choose which matching record to start from.
Another pure database question...
HTH
Chris
Wilbert Enserink wrote:
Hi all, I have this mySQL query giving me my result back. The info about the current db-record is showing. Now I want to display ' view next ' and ' view previous ' buttons on my website. which takes you to the same page but with the next record in the query result. Is there a clever way to do this? Any tips are welcome! Many regards Wilbert Enserink ------------------------- Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl info@pdd.nl -------------------------