Databases: SimplePaginator
Ellery Leung (contact me)
This class can be used to execute MySQL queries to display results split on multiple pages.
It takes as parameters an SQL query, the limit number of rows to display per page, and the number of the current page.
The class calculates the range of rows to retrieve and executes the SQL query appending a LIMIT clause to retrieve only the rows to display on the current page.
Click here for detailed information about this class on phpclasses.org