Login   Register  
PHP Classes
elePHPant
Icontem

PHP PDO Pagination: Show links to browse paginated PDO query results

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Videos Videos   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-25 (5 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 473 All time: 5,470 This week: 1,384Up
Version License PHP version Categories  
pdo-pagination-php 1.1BSD License5.0HTML, PHP 5, Databases
Description Author  

This class can show links to browse paginated PDO query results.

It can execute a database query using a connection established with PDO to obtain the total number of results in a given SQL query.

The class generates a SQL statement suffix to append to the query in order to get only the records to display on the current page assuming a given limit of records to be displayed per page.

It can also generate HTML to go to next, previous, first, last and intermediate pages of the database results listing pages.

Picture of manudg
Name: manudg <contact>
Classes: 3 packages by
Country: Spain Spain
Age: ???
All time rank: 250362 in Spain Spain
Week rank: 926 Up22 in Spain Spain Up

Videos  
  • Curso de PHP 30 - Paginación de resultados y campo de búsqueda
  Files folder image Files  
File Role Description
Files folder imagePDO_Pagination (4 files)
Accessible without login Plain text file AUTHORS.txt Doc. Documentation
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  PDO_Pagination  
File Role Description
  Accessible without login Plain text file demo.php Example Example script
  Accessible without login Plain text file demo.sql Data Auxiliary data
  Plain text file PDO_Pagination.php Class Class source
  Accessible without login Plain text file README.md Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:473All time:5,470
 This week:0This week:1,384Up