Publication Date: Thursday, March 13, 2008
Paging records came from a database is always a task that might take a good time to be completed.
You have to be aware of how you will retrieve the data and also present it in a friendly and intuitive way.
Some time ago, I wrote a class to help this activity.
It uses ADOdb Database Abstraction Library for PHP and provides to developer a fast manner to deal with the data's retrieving and presentation logic.
It can be downloaded at Class: Generic Easy Pagination where you will find a zip file that contains an example and instructions about its use.
It includes the following features:
Sending...please wait
(Click once)
* Your email address will not be published
** HTML code is not permitted
If you don't want use ADOdb library, you can use a version without any extra code. EasyPagination http://www.phpclasses.org/browse/package/1345.html It works just for MySQL and uses the MySQL functions such as "mysql_connect", "mysql_query" and so on.