PHP Classes

Split Query Results: Generate links to split listings in multiple 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
Not enough user ratingsTotal: 477 All time: 5,969 This week: 488Up
Version License PHP version Categories
split_query_results 1.0GNU General Publi...3.0HTML
Description 

Author

This class can be used to generate links to split listings in multiple pages.

It takes as arguments the total number of entries in a listing and the limit number of listing entries to show per page. The current listing page is retrieved from a GET request parameter.

The class can generate links to go to the next, previous and any intermediate pages.

The next and previous links can be displayed with a text string or as an image. The base link URL, the text string or the image URL are also configurable.

Picture of Giuseppe Ferrara
Name: Giuseppe Ferrara <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 50
All time rank: 233092 in Italy Italy
Week rank: 164 Up5 in Italy Italy Up

Screenshots (2)  
  • pic_01.jpg
  • pic_02.jpg
  Files folder image Files (5)  
File Role Description
Plain text file example_split_results.sql Data Sample mySQL database to be used with the example
Plain text file split_query_results.php Class The class file
Plain text file test_query_results.php Example An example script (must be used with mySQL)

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:477
This week:0
All time:5,969
This week:488Up
User Comments (1)