Login   Register  
PHP Classes
elePHPant
Icontem

Class: Paginations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Reneesh T K  >  Paginations  >  Download .tar.gz .zip  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Paginations
Base name: paginations
Description: Split MySQL query result listings
Related classes: , , ,
Version: -
PHP version: 3.0
License: Freeware
All time users: 3056 users
All time rank: 966
Week users: 4 users
Week rank: 933
Picture of Reneesh T K
Author: Reneesh T K <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Age: 29
All time rank: 27414 in India India
Week rank: 144 Up13 in India India Up


  Detailed description  
This class can be used to split MySQL database query listings between multiple pages.

It takes as parameters a SQL query, the limit number of result rows to display per page, and the number of the listing page being displayed.

The class executes the query to retrieve the results of the current page and stores the result handle in a class variable.

The class also generates HTML with links to go to the first, last, next, previous and any intermediate page of the listing.

It also generates HTML to display the current page being display and the total number of rows in the result set.

The links trigger the call of a Javascript function that will switch to the page associated with the link.

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (83.3%)
Good (86.1%)
Good (97.2%)
-
-
Sufficient (72.5%)
116
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
Latest job openigs Latest job openigs
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Latest job openigs Latest job openigs

  Files folder image Files  
File Role Description
Plain text file readme Doc. readme
Plain text file testpage.php Example test page
Plain text file pagination_class.php Class class file

Download all files: paginations.tar.gz paginations.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.