PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 443 This week: 1All time: 6,229 This week: 560Up
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
Age: 34
All time rank: 101338 in Italy Italy
Week rank: 411 Up18 in Italy Italy Up

  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:443
This week:1
All time:6,229
This week:560Up