Login   Register  
PHP Classes
elePHPant
Icontem

PDO Pagination: Display query results split in pages using PDO

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-21 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,232 This week: 4All time: 2,847 This week: 424Up
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.

Picture of Gilberto Albino
Name: Gilberto Albino <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 34
All time rank: 64850 in Brazil Brazil
Week rank: 56 Up4 in Brazil Brazil Up

  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  
 0%Total:1,232All time:2,847
 This week:4This week:424Up
 User Comments (1)  
 
I was unable to run this script on XAMPP for Windows .
5 years ago (Khurram Adeeb Noorani)
5%Star