PHP Classes

MyPager: Output navigation links to split listings in pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 562 All time: 5,430 This week: 488Up
Version License Categories
mypager 1.0GNU General Publi...HTML


This class can be used to display navigation HTML links to split listings in multiple pages.

It can takes as parameters the number of listing entries to display per page, the total number of entries and the number of the first entry to display in the current page.

It can display links to go to the first page, previous page, next page and last page, as well links to intermediate page links upto a configurable limit number of links.

It may also display an informative message to mention the range of entries displayed in the current page like this "Display 144-174 of 350".

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 78 Down9 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file mypager.class.php Class Class source
Accessible without login Plain text file sample.php Example Sample

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,430
This week:488Up
 User Ratings  
 All time