PHP Classes

Simple Pager: Calculate total pages and rows for paged listings

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 1,620 All time: 2,426 This week: 368Up
Version License Categories
simplepager 1.0Free For Educatio...Math
Description Author

This is a very simple class that can be used to calculate the pages and rows to display in a paged listing.

It takes a parameter the total number of rows to list, the limit of rows to display per page, and the number of the current page.

It calculates the total number of pages in the whole listing, and the number of the row start starts the current page.

Picture of shadab khan
Name: shadab khan <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 1754104 in India India
Week rank: 553 Up42 in India India Up

  Files folder image Files  
File Role Description
Plain text file Pager Class pager

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,426
This week:368Up
 User Ratings  
 All time