PHP Classes

Prev Next Pagination: Generate links for paginated listings

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 512 All time: 5,753 This week: 455Up
Version Licenses PHP version Categories
prev-next-pagination 1.0Freely Distributable3HTML, Databases


This class can generate links for paginated listings.

It takes a limit number of entries to list per page and a SQL query and generates HTML links to go to the next or previous listing pages based on the total number of query result rows and the current page number got from a GET request parameter.

The HTML links may also have some additional custom parameters.

Picture of Saw Been
Name: Saw Been <contact>
Classes: 1 package by
Country: Nepal Nepal
Age: 29
All time rank: 32456 in Nepal Nepal
Week rank: 301 Up1 in Nepal Nepal Up

  Files folder image Files  
File Role Description
Plain text file example.php Example Example
Plain text file pagination.php Class main pagination class
Image file screenshot.png Screen Screenshot

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,753
This week:455Up