PHP Classes
elePHPant
Icontem

Classe Paginazione: Display links to browse MySQL query results

Recommend this page to a friend!
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 436 All time: 5,956 This week: 981Up
Version License PHP version Categories
paginazione 1.0GNU General Publi...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

  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:436
This week:0
All time:5,956
This week:981Up