Login   Register  
PHP Classes

Simple Pager: Calculate total pages and rows for paged listings

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-28 (8 years ago) RSS 2.0 feedStarStarStar 45%Total: 1,610 All time: 2,256 This week: 1,853Up
Version License Categories  
simplepager 1.0Free For Educational UseMath
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: 160792 in India India
Week rank: 1779 Down122 in India India Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,610All time:2,256
 This week:0This week:1,853Up
 User Ratings  
 All time