Continue SQL results to another page?

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
stragglerat
Forum Newbie
Posts: 7
Joined: Wed May 14, 2008 12:00 am

Continue SQL results to another page?

Post by stragglerat »

I'm using PHP to import items from a SQL database. I'd like to limit the amount of results that are displayed on one page and have the rest continue to another page with a "Next Page" or numbered links. Any simple way to do this?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Continue SQL results to another page?

Post by onion2k »

It's called "paging", or "pagination". There are millions of articles and tutorials about it so your first port of call should be Google.
Post Reply