Re: Display Records in Multiple Pages
| From: | Justin French | Date: | Thu, 27 Jun 2002 06:56:17 +0000 |
| Subject: | Re: Display Records in Multiple Pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104106@lists.php.net to get a copy of this message | ||
Use the LIMIT function in your SELECT query... check out the MySQL manual...
and then generate back / forward links depending on your current offset. It
should be expandable to 1000 records without any mods to the code.
Justin French
on 27/06/02 4:54 PM, Aqua (aqua@sas.co.id) wrote:
> I have 100 records in mySQL database and I need to display them in my web page
> using php and html. How to display them in multiple pages? Each page must
> contain 25 records. Does anyone know how to do it other than create 4 pages
> and manually list the records there? or maybe point me some reference please.
> Your help will be much appreciated. Thanks!
>
> Aqua
>