Break a fetch query into equal sections

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eektech909
Forum Commoner
Posts: 34
Joined: Fri Jun 09, 2006 3:59 pm

Break a fetch query into equal sections

Post by eektech909 »

How do you go about running a mysql fetch array query and divide the results into like 1-5, 6-10

I'm trying to display thumbnails and after 5 across, i want it to begin a new linke of thumbnails.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

search this forum for "pagination"
Post Reply