Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying results 30 at a time

Status
Not open for further replies.

kb2001

MIS
May 22, 2006
31
US
I am working on a web page that displays pictures from a search that queries a mysql DB. I would like to display them 30 at a time and just have links, "next" "prev" and pages 1, 2, 3, 4, ... etc to limit the number of pics that are displayed if the user gets a lot of results. Standard search handling of results. I cannot seem to find how to accomplish this. Can somebody point to a starting point to get this figured out? Is it handled by PHP, or is it the mysql query I need to modify to return limited results? What's the best approach to this?
 
I don't know how much you've searched, but sleipnir has written a FAQ here on it: faq434-5244

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Hi Vragabond-

I feel dumb now, I didn't even look at the FAQ's. I just began searching the forum for different things that might trigger a result that would be useful to me. I even went so far as to just start manually going back and looking at every thread title to see if I found a relevant one. I'll give this a try and see what I can come up with.

Thanks for the link, and also for not hammering me too hard for forgetting step 1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top