PHP Pagination Class

Some of you have asked for more examples of the PHP pagination class I wrote, specifically the same examples I’m using here on the site. The database comes from
MySQL’s free example databases available at (my example uses the world database). The two examples I use here can be seen at and You can download both PHP files, along with the
pagination class in a zip file. Don’t forget to grab the sample database from MySQL.

Note that the MySQL site seems to be undergoing some updates and the sample databases are hard to find. If the above links don’t work try

5 thoughts on “PHP Pagination Class”

  1. Great pagination class. I miss only one thing: sorting the columns (asc/desc). Perhaps it’s an idea for a new class?

Leave a Reply

Your email address will not be published. Required fields are marked *