Login   Register  
PHP Classes

MySQL Pagination: Retrieve and display MySQL query split in pages

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-12 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,632 All time: 1,347 This week: 1,055Up
Version License PHP version Categories  
paginationclass 1.0GNU General Public Lice...3HTML, Databases
Description Author  

This class can be used to retrieve and display MySQL query results and display them in multiple pages.

It can determines the number of rows returned by a query to calculate the total number of pages splitting the listing of records with a given limit per page.

The class can also generate a navigation bar with links to go to each of the listing pages.

It also executes the query returning an array with only the records to be displayed in a given listing page.

Picture of Alexandru Aliu
Name: Alexandru Aliu <contact>
Classes: 1 package by
Country: Romania Romania
Age: 34
All time rank: 109128 in Romania Romania
Week rank: 1694 Down34 in Romania Romania Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file class_rs.txt Doc. Short user manual for this class
Plain text file class_rs.php Class The source

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,632All time:1,347
 This week:0This week:1,055Up