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 All time: 3,373 This week: 455Up
Version License PHP version Categories
flexible-pagination 1.0GNU Free Document...3.0HTML, PHP 5, Databases


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: 13041 in Lebanon Lebanon
Week rank: 259 Up1 in Lebanon Lebanon Equal

  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  
This week:0
All time:3,373
This week:455Up