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 ([EMAIL PROTECTED]) 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
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to