Here is a nice, simple way to add pagination to a site with many items using PHP. This code will allow you to display your content normally, or automatically create pagination if the content exceeds a set number of items. This code is provided as is, with no warranty, but can be modified to your liking. If you use it on your site, I’d love if you let me know so I can see it in action, but you are under no obligation to do so.
The function itself is pretty well commented, and a php example file is provided as well. Let me know how it works out for you!
Download: pagination.zip
Good idea on giving away that .php script. Do you have to hook that up to your server?
http://www.Drewryonline.net
Your server does need to be running PHP for these files to work.