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,420 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: 1749103 in India India
Week rank: 480 Up36 in India India Up

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,620
This week:0
All time:2,420
This week:368Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:2746
  
For more information send a message to info at phpclasses dot org.