Paginate SQL Results

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
kristolklp
Forum Commoner
Posts: 30
Joined: Mon Sep 05, 2005 2:24 pm

Paginate SQL Results

Post by kristolklp »

Anyone know how I can paginate my SQL results on an HTML page? For example, if I query my database I don't want all results on 1 page. Instead, I would like to add the common <Previous Page, Next 25, Last Page> links if possible.

If someone could point in the right direction on how i can accomplish this, I would greatly appreciate it. I searced for tutorials but I couldn't seem to come up with anything.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Search these forums for pagination :)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Post Reply