Login   Register  
PHP Classes
elePHPant
Icontem

Prev Next Pagination: Generate links for paginated listings

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-07 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 488 This week: 2All time: 5,332 This week: 893Up
Version Licenses PHP version Categories  
prev-next-pagination 1.0Freely Distributable, T...3HTML, Databases
Description Author  

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: 19
All time rank: 29368 in Nepal Nepal
Week rank: 774 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  
 0%Total:488All time:5,332
 This week:2This week:893Up