Login   Register  
PHP Classes
elePHPant
Icontem

Database Pagination: Paginate database query result listings

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Ron Darby
Name: Ron Darby is available for providing paid consulting. Contact Ron Darby .
Classes: 4 packages by
Country: South Africa South Africa
Age: 33
All time rank: 100711 in South Africa South Africa
Week rank: 299 Up2 in South Africa South Africa Up


  Detailed description   Download Download .zip .tar.gz  
This class can paginate database query result listings.

The main pagination class can call a database access class which uses PDO to retrieve the total number of records for database query to a given table matching a given condition.

The pagination class can generate HTML for links to go to the next, previous, first, last and any intermediate pages of the listing the query results.

The number of the current page and the search results order is retrieved from a GET request parameter. The limit of records to list per page is configurable.

The class can also execute the query to retrieve into an array the records to display in the current page.

  Classes of Ron Darby  >  Database Pagination  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Database Pagination
Base name: db-pagination
Description: Paginate database query result listings
Version: -
PHP version: 5.1
License: GNU General Public License (GPL)
All time users: 709 users
All time rank: 4263
Week users: 3 users
Week rank: 659 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (66%) Sufficient (75%) - Not sure (50%) - - Not sure (45%) 1891
Month: Not yet rated by the users

  Applications that use this package  
Safari Journal
Safari Journal Website
SaffaWeb CMS
Smarty based CMS
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file db.class.php Class database connection class
Accessible without login Plain text file index.php Example Sample usage
Plain text file pagination.class.php Class pagination class

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