PHP Classes

Perfect Paging: Generate links to browse listings split in pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-17 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,169 All time: 3,008 This week: 1,398Up
Version License PHP version Categories  
perfect_paging 1.0GNU General Publi...3HTML
Description Author  

This class can be used to generate links to browse listings split in multiple pages.

It takes as parameters the link base URL, the total number of entries in the listing, the limit of entries to display per page and the name of a request variable that is used to pass the page number.

The class can generate HTML to display links to go to the first, previous, next and last listing pages.

It can also generate links that trigger Javascript execution when clicked.

Picture of Seregwethrin
Name: Seregwethrin <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 25
All time rank: 81315 in Turkey Turkey
Week rank: 1660 Down28 in Turkey Turkey Down

  • Examples
  Files folder image Files  
File Role Description
Plain text file example.php Example Example of usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,169All time:3,008
 This week:0This week:1,398Up
 User Comments (1)