Better PDO Pagination: Display pagination links for SQL queries using PDO

Recommend this page to a friend!
  Info   Screenshots   View files (4)   Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
69%Total: 2,507 All time: 1,520 This week: 233
Version License PHP version Categories
better-pdopagination 2.0Free To Use But R...5HTML, PHP 5, Databases
Description Author

This class can display pagination links for SQL queries using PDO.

It takes a PDO object with database connection already opened and a SQL query as parameters to count the total number of result set rows.

The class can generate HTML links to browse the between the pages of the listing of results assuming a given the number of the current page, the limit number of results to display per page and a limit number of result page browsing links.

Recommendations

Pagination for content
Divide content into pages

Picture of Gilberto Albino
Name: Gilberto Albino <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 40
All time rank: 54941 in Brazil Brazil
Week rank: 762 40 in Brazil Brazil

Screenshots  
  • screenshot.PNG
  Files  
File Role Description
libs (1 directory)
test (1 file)
demo.html Data Try a demo online
database.sql Data The database SQL for mysql used in the test

  Files  /  libs  
File Role Description
PDO_Pagination (1 file)

  Files  /  libs  /  PDO_Pagination  
File Role Description
   Pdo_pagination.php Class Main class

  Files  /  test  
File Role Description
   index.php Example Test file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,507
This week:0
All time:1,520
This week:233
User Ratings User Comments (4)
 All time
Utility:100%
Consistency:95%
Documentation:-
Examples:95%
Tests:-
Videos:-
Overall:69%
Rank:475
 
Have tried so many scripts but this class is really awesome f...
4 years ago (Daryl Stone)
70%
Good
4 years ago (Mostafa Elsayh)
70%
Good
4 years ago (Mostafa Elsayh)
70%
This is a good, useful and very organized class ! :-) Usualy...
8 years ago (Josť Filipe Lopes Santos)
70%
 

For more information send a message to info at phpclasses dot org.