PHP Classes

PDO Pagination: Display query results split in pages using PDO

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-02-21 (9 years ago) RSS 2.0 feedStarStar 31%Total: 1,364 All time: 2,811 This week: 363Up
Version License PHP version Categories
pdopagination 1.0Freely Distributable5.0HTML, PHP 5, Databases
Description Author

This package can be used to display query results split in pages using PDO.

It takes an SQL query and executes it once to retrieve the total number of rows that it would return.

It can generate HTML with links to go other pages of the the results listing, given the current listing page number and the limit of results to display per page.

The code and comments are in Portuguese.

In Portuguese:

Paginação de resultados utilizando a classe PDO.

Name: Gilberto Albino <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 39
All time rank: 54541 in Brazil Brazil
Week rank: 845 Down46 in Brazil Brazil Down


  Files folder image Files  
File Role Description
Accessible without login Plain text file dados.sql Data This file contains the data used in the test
Accessible without login Plain text file paginacao.php Class This file contains the class for pagination and test case

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,811
This week:363Up
User Ratings User Comments (1)
 All time