PHP Classes

MySQL Paging: Split MySQL database query results into 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
StarStarStar 56%Total: 3,239 All time: 1,083 This week: 488Up
Version License Categories
mysqlpaging 1.0FreewareHTML, Databases
Description 

Author

This is a simple class that can return a MySQL database query results for spliting into multiple pages given the maximum number of result rows to present on each page.

Its usage is simple:

- Create a class object with 3 arguments: MySQL SQL query, limit of records per page, MySQL connection handle
- Output the page numbers as links
- Retriev the MySQL Query for results for retriving the results for the current page

Picture of Adomas Žiaušys
Name: Adomas Žiaušys <contact>
Classes: 1 package by
Country: Lithuania Lithuania

  Files folder image Files (2)  
File Role Description
Plain text file mysqlPaging.class.inc Class Class file
Accessible without login Plain text file mysqlPaging.php Example Example 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:3,239
This week:0
All time:1,083
This week:488Up
User Ratings User Comments (1)
 All time
Utility:86%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1741
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar