Login   Register  
PHP Classes
elePHPant
Icontem

Tomeks Pagination: Output pagination links using session to pass data

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   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-09-08 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 939 This week: 2All time: 3,529 This week: 889Up
Version License Categories  
pagination 1.0GNU General Public Lice...HTML, Databases
Description Author  

This class can be used to generate links to navigate between pages of listings of database query results split in multiple pages.

It uses sessions to pass the pagination state between pages.

It can also output the content to be shown in each page with user defined functions.

The class can be configured to defined the number of links to other pagination pages, number of rows of data to display on each page, the functions to execute SQL query and retrieve the results to display.

It can display an unlimited number of paginated listings per page.

The format of the links can be configures using template strings.

Picture of tomekglinski
Name: tomekglinski <contact>
Classes: 3 packages by
Country: Poland Poland
Age: ???
All time rank: 73322 in Poland Poland
Week rank: 479 Up15 in Poland Poland Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example demo script
Plain text file pagination_class Class main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:939All time:3,529
 This week:2This week:889Up