Too many records to display in one web page
| From: | Eduardo Vizcarra | Date: | Sat, 26 May 2007 23:17:52 +0000 |
| Subject: | Too many records to display in one web page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255690@lists.php.net to get a copy of this message | ||
Hi All
I am developing a web site that interacts with a MySQL database. When I run
a query and display the records in a web page, this can become a problem
because there might be too many records to be displayed in one single web
page so I am trying to divide the total number of records and display them
in multiple pages. Let's say, if the query returns 100 records then I would
like to display the first 10 records and then put a navigation bar where I
can go to the next 10 or return to the previous 10 records
Is this done at a SQL or PHP level ? any experience on doing this ?
Thanks a bunch
Eduardo