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?