Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
shazam-fu
Forum Newbie
Posts: 8 Joined: Mon Feb 23, 2004 1:22 pm
Post
by shazam-fu » Mon Feb 23, 2004 1:22 pm
I want to display my search results 10 per page. So if there are 120 results, show 10 & have links to the other 11 pages at the bottom. How can I do this? I'm stumped!
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Mon Feb 23, 2004 1:26 pm
There's 1001 ways to do it so the best bet is to first search google for 'php pagination' and pick one that makes sense to you
evilMind
Forum Contributor
Posts: 145 Joined: Fri Sep 19, 2003 10:09 am
Location: Earth
Post
by evilMind » Mon Feb 23, 2004 4:34 pm
shazam-fu
Forum Newbie
Posts: 8 Joined: Mon Feb 23, 2004 1:22 pm
Post
by shazam-fu » Tue Feb 24, 2004 7:36 am
Thanks! That was just what I needed. I couldn't figure out what to search for - I never would have thought of 'pagination'.