PHP Classes
elePHPant
Icontem

My Pagination: Display links for browsing database query results

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-03-15 (3 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 835 All time: 3,963 This week: 1,012Up
Version License PHP version Categories
my-pagination 1.0GNU General Publi...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
  Performance   Level  
Name: Romil Jayme <contact>
Classes: 1 package by
Country: Philippines Philippines
Age: 30
All time rank: 243522 in Philippines Philippines
Week rank: 1376 Up18 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
Accessible without login Plain text file pages.sql Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 57%
Total:835
This week:0
All time:3,963
This week:1,012Up