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 (7 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 836 All time: 3,982 This week: 880Up
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

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:836
This week:0
All time:3,982
This week:880Up