Creating dynamic results 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
junestag
Forum Commoner
Posts: 39
Joined: Tue Sep 18, 2007 5:14 pm
Location: Alaska
Contact:

Creating dynamic results page

Post by junestag »

My client wants users to be able to search a database that I've already created in mysql. When the results of the search are output to the browser the client wants a maximum of 15-20 records returned at a time. If there are more than 15-20 records they want a 'next arrow' to see more results. Does anyone know how such a results page(s) could be created dynamically?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Creating dynamic results page

Post by Kieran Huggins »

it's called "pagination", and loads of people have explained it better than I probably could:
http://www.google.com/search?ie=UTF-8&o ... pagination
junestag
Forum Commoner
Posts: 39
Joined: Tue Sep 18, 2007 5:14 pm
Location: Alaska
Contact:

Re: Creating dynamic results page

Post by junestag »

ohh, fantastic! it helps to know the names of things.thanks Kieran!
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Creating dynamic results page

Post by Kieran Huggins »

no problemo - sometimes just knowing what to search for is the proverbial missing link.
Post Reply