PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 873 This week: 1All time: 4,017 This week: 173Up
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: 37
All time rank: 252923 in Philippines Philippines
Week rank: 287 Up3 in Philippines Philippines Up

  • page_numbers.jpg
  • prev_next.jpg
  • select.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 Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:4,017
This week:173Up