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,191 All time: 1,037 This week: 1,366Down
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: 29
All time rank: 9187 in Lithuania Lithuania
Week rank: 1779 Down6 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,191All time:1,037
 This week:0This week:1,366Down
User Ratings User Comments (1)  
 All time
Utility:86%StarStarStarStarStar
Consistency:72%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1106
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar