PHP Classes

Flexible pagination class: Split MySQL query results in multiple pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,116 This week: 1All time: 3,373 This week: 571Up
Version License PHP version Categories
flexible-pagination 1.0GNU Free Document...3.0HTML, PHP 5, Databases
Description 

Author

This class can be used to split MySQL query results in multiple pages.

It takes a given SQL query and executes it in such way that it limits the retrieved results to a given range of rows with data to be displayed in the current page.

The class also generates HTML for links to go to the next, previous, first and last page of the query results listing. It can also generate a select input with Javascript to jump to the listing pages.

The limit number of rows to display per page is configurable.

Picture of mano kalousdian
  Performance   Level  
Name: mano kalousdian <contact>
Classes: 2 packages by
Country: Lebanon Lebanon
Age: 44
All time rank: 13031 in Lebanon Lebanon
Week rank: 420 Up2 in Lebanon Lebanon Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example Example an example
Plain text file paginationclass.php Class the main class of the pagination

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,116
This week:1
All time:3,373
This week:571Up