Login   Register  
PHP Classes
elePHPant
Icontem

PHP Pagination: Generate links to browse MySQL query result pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-24 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 845 All time: 3,787 This week: 1,556Up
Version License PHP version Categories  
php-pagination 1.0GNU General Public Lice...4.0HTML
Description Author  

This class can generate links to browse MySQL query result pages.

It takes the total number of items in a query result and the limit of items to display per page to generate HTML links to browse the different pages of the results listing based on the current page number retrieved from a request parameter.

The class can also generate the MySQL query limit clause to retrieve the results for the current page.

The base URL for the links and the limit of links to appear before and after the current page can be configured.

Picture of Radovan Janjic
Name: Radovan Janjic is available for providing paid consulting. Contact Radovan Janjic .
Classes: 13 packages by
Country: Serbia Serbia
Age: 26
All time rank: 4294 in Serbia Serbia
Week rank: 39 Up1 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file pagination.class.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%Total:845All time:3,787
 This week:0This week:1,556Up
 User Comments (1)  
 
There are a very good and useful class :-)
1 year ago (Josť Filipe Lopes Santos)
70%StarStarStarStar