PHP Classes

Regin's Pager: Show MySQL query results split in multiple 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: 955 All time: 3,775 This week: 455Up
Version License PHP version Categories
pager 1GNU Lesser Genera...5HTML, PHP 5, Databases
Description 

Author

This class can be used to show MySQL database query results split in multiple pages.

It can execute a given SQL query limiting the range of rows that are retrieved according to the limit number of results to show page, total number of rows in the result set, and the number of the listing page that is being displayed.

The class shows links to the next, previous, first, last, and any middle listing pages.

Originally published on:
http://www.sourcerally.net/Scripts/17-Paging-with-PHP-and-MySQL

Picture of regin
Name: regin <contact>
Classes: 1 package by
Country: Spain Spain
Age: ???
All time rank: 242662 in Spain Spain
Week rank: 180 Up6 in Spain Spain Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example example of use
Accessible without login Plain text file pager.class.php Class The class file

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:955
This week:0
All time:3,775
This week:455Up