PHP Classes

DS Pager: Show links to browse listings split in pages

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 277 All time: 7,648 This week: 455Up
Version License PHP version Categories
pager-class 2.0.0Freeware5.0HTML, PHP 5
Description 

Author

This class can be used to show links to browse listings split in pages.

It takes as parameters the total number of entries in the listing, the limit number of entries displayed per page and the number of the current page.

The class shows links to browse to the first, previous, next and last pages.

It can also return the total number of pages and a string with the values for the LIMIT clause of a SELECT database query.

Picture of Narong
Name: Narong <contact>
Classes: 3 packages by
Country: Thailand Thailand

 

  Files folder image Files (4)  
File Role Description
Plain text file class_pager.php Class split page class
Accessible without login Plain text file index.php Example test pager
Accessible without login Plain text file start_connect.inc.php Aux. connection to database
Accessible without login Plain text file test_table.sql Data database for test

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:277
This week:0
All time:7,648
This week:455Up