Login   Register  
PHP Classes
elePHPant
Icontem

Classe Paginazione: Display links to browse MySQL query results

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  
2009-02-16 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 432 All time: 5,717 This week: 1,524Up
Version License PHP version Categories  
paginazione 1.0GNU General Public Lice...5HTML, PHP 5, Databases
Description Author  

This class can be used to display links to browse MySQL query results.

It takes as parameters an SQL query, the number of results display per page and the name of request variable that will be used to pass the number of the page to browser in the links.

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

It also returns an array with the URLs of the number of the pages to put in links to go to the current, previous, next, first, last listing pages.

The code and comments are in Italian.

Picture of StefanoV89
Name: StefanoV89 <contact>
Classes: 6 packages by
Country: Italy Italy
Age: 25
All time rank: 95337 in Italy Italy
Week rank: 1078 Down50 in Italy Italy Down

  Files folder image Files  
File Role Description
Files folder imagelibs (1 file)
Accessible without login Plain text file esempio.php Example Example file

  Files folder image Files  /  libs  
File Role Description
  Plain text file paginazione.inc.php Class Class File

 Version Control Unique User Downloads Download Rankings  
 0%Total:432All time:5,717
 This week:0This week:1,524Up