Login   Register  
PHP Classes
elePHPant
Icontem

GV Pagination Class: Split database query result listings between 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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-03-03 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 560 All time: 4,974 This week: 1,572Up
Version License PHP version Categories  
gv_pagination_class 1.0GNU General Public Lice...3.0HTML, Databases
Description Author  

This class can used to split database query result listings between pages.

It takes as parameter SELECT SQL query and counts the number of rows it would return.

The class executes the SQL query limiting the range of rows to show in the current page, given the limit of results to show per page and the number of the current page that is retrieved from a request variable.

It can also generate links to browse the other result set pages basing the pages URL on the current page URL. The presentation of the navigation links is configurable with CSS styles.

Picture of Ruben Sekiji Negrao Doi
Name: Ruben Sekiji Negrao Doi <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 29
All time rank: 2199155 in Brazil Brazil
Week rank: 1779 Up147 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file class_Pagination.php Class Main File Class
Accessible without login Plain text file conf.inc.php Conf. Configuration file

Downloadgv_pagination_class-2008-03-03.zip 1KB
Downloadgv_pagination_class-2008-03-03.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
GV Conection Class Download .zip .tar.gz Need to retrieve the data that will be show Required
GV RecordSet Class Download .zip .tar.gz Registers that will be show are registers Required
 Version Control Unique User Downloads Download Rankings  
 0%Total:560All time:4,974
 This week:0This week:1,572Up