PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-03-21 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 714 All time: 4,368 This week: 1,553Up
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
Age: 40
All time rank: 259842 in Turkey Turkey
Week rank: 1585 Up29 in Turkey Turkey Up

  • paginationexample2.jpg
  • paginationexample1.jpg
  Files folder image Files  
File Role Description
Plain text file pagination_class.php Class pagination class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:714All time:4,368
 This week:0This week:1,553Up