PHP Classes

MySQL Paging: Split MySQL database query results into pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 3,239 This week: 1All time: 1,083 This week: 560Up
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
Age: 38
All time rank: 9857 in Lithuania Lithuania
Week rank: 411 Up1 in Lithuania Lithuania Up

  Files folder image Files  
File Role Description
Plain text file mysqlPaging.class.inc Class Class file
Accessible without login Plain text file mysqlPaging.php Example Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,239
This week:1
All time:1,083
This week:560Up
User Ratings User Comments (1)
 All time
Utility:86%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1706
 
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar