Login   Register  
PHP Classes
elePHPant
Icontem

Query result table display class: Outputs tables with the result of database queries

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-06-08 (6 years ago) RSS 2.0 feedStarStarStar 52%Total: 7,089 All time: 245 This week: 1,585Down
Version License Categories  
querytabledisplay 1.0.0BSD LicenseHTML, Databases
Description Author  

Class that outputs a table with the data from the result rows of a database query. It features:

- Database independency (works with any DBMS supported by Metabase).
- Splits the display of the result rows in multiple pages of configurable number of rows displaying automatic links to Next, Previous, First, Last, etc.. pages.
- Arbitrary column display display.
- Automatic alignmnent of columns according to their data types.-
- Configurable colors for the table headers and data alternating between even and odd rows.

Picture of Manuel Lemos
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 46
All time rank: 1
Week rank: 2 Down1 in Portugal Portugal Equal

Screenshots  
  • databasetable.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file currencies.schema Data Schema definition of an example currencies database
Plain text file databasetableclass.php Class Query result table display class
Accessible without login Plain text file database_setup.php Conf. Database configuration definitions
Accessible without login Plain text file setup_currency_database.php Aux. Script to setup the example currencies database
Accessible without login Plain text file test_database_table.php Example Example script that shows how to use the class
Accessible without login HTML file test_database_table_page.html Output HTML output of the class example script.

Downloadquerytabledisplay-2008-06-08.zip 16KB
Downloadquerytabledisplay-2008-06-08.tar.gz 16KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Metabase Download .zip .tar.gz Database independent abstraction layer used to access many SQL databases Required
Table wrapper base class Download .zip .tar.gz Base class to present the query results in HTML tables Required
 Version Control Unique User Downloads Download Rankings  
 0%Total:7,089All time:245
 This week:0This week:1,585Down
 User Ratings  
 
 All time
Utility:76%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:1450