Login   Register  
PHP Classes
elePHPant
Icontem

My Pagination: Display links for browsing database query results

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-21 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 815 All time: 3,883 This week: 1,870Up
Version License PHP version Categories  
my-pagination 1.0GNU General Public Lice...4.0HTML, Databases
Description Author  

This class can display links for browsing database query results.

It takes as parameters the limit of records to display per page, the total number of records in the database query result set and the number of the current listing page.

The class can generate links to browse to the previous, next and any intermediate result listing pages.

It can also generate form select inputs with the lists of all pages to let the user choose a list page to which the browser is redirected.

The class can also return the MySQL query LIMIT clause to retrieve only the result records that will be displayed in the current listing page.

Picture of Romil Jayme
Name: Romil Jayme <contact>
Classes: 1 package by
Country: Philippines Philippines
Age: 28
All time rank: 236022 in Philippines Philippines
Week rank: 1763 Up16 in Philippines Philippines Up

Screenshots  
  • select.jpg
  • prev_next.jpg
  • page_numbers.jpg
  Files folder image Files  
File Role Description
Plain text file class.mypagination.php Class class file
Accessible without login Plain text file example.php Example example usage of the pagination class

 Version Control Unique User Downloads Download Rankings  
 0%Total:815All time:3,883
 This week:0This week:1,870Up