next/prev pages

wxdqz

New Member
Looking to understand how to create a next or previous page link.
I have a guestbook where data is saved to a DB and then displayed with a limit of 4 entries per page. I'd like to learn how to create a "next" link that will display 4 more records per page and so on until they are all displayed.

Can you do this by passing the MySQL num_rows result to the next link?
Maybe I'm not thinking this through.

Any help would be appreciated.

Mark
 
Back
Top