Pranot Kokate wrote:
> hi.. friends
> i have a database (mysql) in which their r many records. Through PHP i want them to 
>display on the page.
> Main requirement is that there should be a NEXT - PREVIOUS facility. So if there r 
>20 records and suppose only 10 should show up on scren at a time, then a NEXT link 
>should be visible which could show the remaining 10 records.
> Their can be n no. of records.

Usually you may use the LIMIT clause to specify the range of query
result rows that you want to show.

You may want to try this PHP class that already display query results in
HTML tables eventually spliting the results in pages that you may go
using links like you want.


Manuel Lemos

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to