Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling the ammount of records displayed on each page... 1

Status
Not open for further replies.

Ovatvvon

Programmer
Feb 1, 2001
1,514
US
I have a 'guestbook' for a site I'm making. However, I only want 10 posts shown per page. If the user wants to see the rest, they can click on the next page to see 10 more.

The primary keys won't necessarily be in strict order (ex. 1, 2, 3, 4, 5....could be 1, 2, 5, 6, 9, 10, etc) and obviously it should be only one page built dynamically.

Does anyone know the proper sql statement, (or other proper method) to control the records displayed per page?

Thanks in advance!

-Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top