Login   Register  
PHP Classes
elePHPant
Icontem

Paging: Generate paging links for listings split in pages

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-03-04 (10 years ago) RSS 2.0 feedStarStarStar 48%Total: 5,287 This week: 1All time: 426 This week: 1,478Down
Version License Categories  
paging 1.0Freely DistributableHTML, Content management
Description Author  

This class is meant to generate navigation links to split listings of arbitrary information between multiple pages.

Usually this is meant for paging listings of database query results but it can also be used for paging any other kind of listings.

The class takes the total number of records in the whole listing, the limit number of records to be displayed per page and the number of the current page being displayed.

Then it can generate navigation links to go to other listing pages appending to the current script URL an argument that indicates which page is meant to be listed.

Picture of dev San
Name: dev San <contact>
Classes: 2 packages by
Country: India India
Age: 33
All time rank: 24514 in India India
Week rank: 1120 Down89 in India India Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example To Use The Class
Plain text file paging.php Class Paging File Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:5,287All time:426
 This week:1This week:1,478Down
User Ratings User Comments (2)  
 All time
Utility:71%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:-
Examples:59%StarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:1722