Login   Register  
PHP Classes
elePHPant
Icontem

TPaginatedData: Output listings from query results split in pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-16 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 613 All time: 4,667 This week: 2,239Up
Version License Categories  
tpaginateddata 1.0GNU Lesser General Publ...HTML, Databases
Description Author  

This class can be used to generate listings split in multiple pages of data from MySQL database query results.

It takes a query string and determines the number of result rows to calculates the total number of pages.

Then it can execute the query to to get the data for the current page to display.

The current listing page is generated using a custom output template defined as a PHP script.

Picture of Augustin BOTEANU
Name: Augustin BOTEANU <contact>
Classes: 1 package by
Country: Romania Romania
Age: 32
All time rank: 268457 in Romania Romania
Week rank: 1879 Up47 in Romania Romania Up

Screenshots  
  • screenshot_1
  Files folder image Files  
File Role Description
Plain text file pagination_example.php Example A possible way to use the class
Plain text file products_listing_tpl.php Aux. Example template file for listing the results
Plain text file TPaginatedData.class.php Class Class file for pagination

 Version Control Unique User Downloads Download Rankings  
 0%Total:613All time:4,667
 This week:0This week:2,239Up