PHP Classes

Pagination optimized: Show links to browse query results split in pages

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 721 All time: 4,597 This week: 488Up
Version License PHP version Categories
paginationopt 1.0GNU General Publi...4.1HTML, Databases
Description 

Author

This class can be used to show links to browse database query results split between multiple pages.

It takes as parameters limit of list entries per page, the number of the current page and an SQL query that returns the total number of query result rows.

The class returns an SQL query with a LIMIT clause to retrieve only the records to show in the current page.

It also shows links to browse query results in other pages besides the current page.

The texts to show on the links, the listing base URL, and other parameters are configurable.

Picture of Murat BIYIKLI
Name: Murat BIYIKLI <contact>
Classes: 1 package by
Country: Turkey Turkey

Screenshots (2)  
  • paginationexample2.jpg
  • paginationexample1.jpg
  Files folder image Files (3)  
File Role Description
Plain text file pagination_class.php Class pagination class file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:721
This week:0
All time:4,597
This week:488Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3805