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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-04-09 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 475 All time: 5,874 This week: 794Up
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.

Name: Giuseppe Ferrara <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 45
All time rank: 228290 in Italy Italy
Week rank: 793 Up33 in Italy Italy Up


  • pic_02.jpg
  • pic_01.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,874
This week:794Up
User Comments (1)