PHP Classes

Split Query Results: Generate links to split listings in multiple pages

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 477 All time: 5,967 This week: 488Up
Version License PHP version Categories
split_query_results 1.0GNU General Publi...3.0HTML


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: 49
All time rank: 232992 in Italy Italy
Week rank: 288 Up11 in Italy Italy Up

  • pic_01.jpg
  • pic_02.jpg
  Files folder image Files  
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)

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,967
This week:488Up
User Comments (1)