How to Page Through Database Results
| From: | Ian Plount | Date: | Thu, 28 Sep 2000 23:32:22 +0000 |
| Subject: | How to Page Through Database Results | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17979@lists.php.net to get a copy of this message | ||
Can somebody point me to a tutorial or example of how to page through a result set from a database?
For example say the result set from the database contains 100 records. I want to be able to press
either a forward or back button to page through the records 20 at a time. I would also like buttons
to be able to go to the first or the last page.
I know how to do this in ASP but being new to PHP I'm unsure of the steps I need to take.
My set up:
PHP 4.0
MySQL
Redhat Linux
Apache
Thanks for the help.
Ian