Login   Register  
PHP Classes
elePHPant
Icontem

MySQL Paging: Split MySQL database query results into 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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-02-05 (9 years ago) RSS 2.0 feedStarStarStar 56%Total: 3,181 This week: 2All time: 1,032 This week: 903Up
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: 28
All time rank: 9107 in Lithuania Lithuania
Week rank: 789 Up3 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,181All time:1,032
 This week:2This week:903Up
User Ratings User Comments (1)  
 All time
Utility:86%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1090
 
Excellent
4 years ago (kishore kumar)
70%StarStarStarStar