Split Result: Split MySQL query results between pages

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 1,286 All time: 2,974 This week: 292Up
Version License Categories
splitresult 1.0GNU General Publi...HTML, Databases
Description Author

This class is meant to split the presentation of a MySQL database query results between multiple pages.

The class takes a MySQL query result set handler value and generate navigation HTML links between pages of result pages given the limit number of query result rows to display, the number of rows in the result set and the number of the current results page to display.

Picture of Gaidar
Name: Gaidar <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 201157 in Russian Federation Russian Federation
Week rank: 517 Up20 in Russian Federation Russian Federation Up

 

Details
Description
===========

SplitRerult is a very simple, but easy to use splitter class for MySQL
server database. It works with all server's versions.
Look through the sample to found out how to use the class. 


Sample
======

To use included sample create mysql database, name it, for instance,
'test_db'. (If you decide to use another names, correct $mysql_db in
'config.php')

	mysqladmin create test_db

Correct config.php to match your system configuration. 
After that, install data using mysql client. Like that:

	mysql test_db < mysql_db.sql

Copy files to your web-server directory and point your browser to 
file usage.php.

	http://yourhost/usage.php

Enjoy!


Author
======

Gaidar Magdanurov [gaidar@vbstreets.ru]
ICQ: 167656859
  Files folder image Files  
File Role Description
Accessible without login Plain text file config.php Conf. Configuration file for the sample.
Accessible without login Plain text file mysql_db.sql Data SQL data
Accessible without login Plain text file README.TXT Doc. Documentation
Plain text file split_result.php Class SplitResult class
Accessible without login Plain text file usage.php Example Example of using SplitResult

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,286
This week:0
All time:2,974
This week:292Up
 User Ratings  
 
 All time
Utility:67%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:82%StarStarStarStarStar
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1735
  

For more information send a message to info at phpclasses dot org.