PHP Classes

Query Paginator: Retrieve MySQL query results split in pages

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 439 All time: 6,263 This week: 455Up
Version License PHP version Categories
query-paginator 1GNU General Publi...5.0PHP 5, Databases
Description 

Author

This class can be used to retrieve MySQL query results split in pages.

It can execute a given MySQL SELECT query and retrieve its results split in pages with a given limit number of records.

The class can iterate over the complete set of results and return the query result pages as arrays until there are no more result pages to retrieve.

Picture of Marius Zadara
Name: Marius Zadara is available for providing paid consulting. Contact Marius Zadara .
Classes: 6 packages by
Country: Romania Romania
Age: 42
All time rank: 3838 in Romania Romania
Week rank: 170 Up4 in Romania Romania Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files (8)  
File Role Description
Files folder image_includes (1 file, 3 directories)
Accessible without login Plain text file index.php Example Script demo

  Files folder image Files (8)  /  _includes  
File Role Description
Files folder image_classes (2 files)
Files folder image_exceptions (2 files)
Files folder image_interfaces (2 files)
  Accessible without login Plain text file _includeAll.php Aux. Include all the libraries

  Files folder image Files (8)  /  _includes  /  _classes  
File Role Description
  Plain text file QueryPaginator.class.php Class Main class
  Accessible without login Plain text file _include.php Aux. Include scripts

  Files folder image Files (8)  /  _includes  /  _exceptions  
File Role Description
  Plain text file QueryPaginatorException.excp.php Class Custom exception
  Accessible without login Plain text file _include.php Aux. Library include

  Files folder image Files (8)  /  _includes  /  _interfaces  
File Role Description
  Plain text file IQueryPaginator.intf.php Class Paginator interface
  Accessible without login Plain text file _include.php Aux. Interfaces loader

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:439
This week:0
All time:6,263
This week:455Up
User Comments (1)
Congratulations .
14 years ago (José Filipe Lopes Santos)
70%StarStarStarStar