PHP Classes
elePHPant
Icontem

SQL Table: Output SQL query results as HTML tables

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-05-01 (5 years ago) RSS 2.0 feedStarStarStar 51%Total: 2,655 All time: 1,384 This week: 1,095Up
Version License PHP version Categories
sqltable 0.8GNU Lesser Genera...4.0HTML, Databases
Description Author

This class is meant to output SQL database query results as HTML tables.
It supports displaying a limited range of query result rows per page with buttons to navigate between multiple pages in case the query returned more rows than the specified limit per page.
This class is tested deeply with MySQL and Microsoft SQL server but it may already support other databases.
It allows the customization of the table column headers, turn values into links to other pages or hide certain columns, have javascript onclick events or merge the content of multiple columns into one.

Picture of Peter Klauer
Name: Peter Klauer <contact>
Classes: 18 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 3x

Screenshots  
  • sqltable.jpg
  • Katalog2.gif
  • Katalog1.gif
  Files folder image Files  
File Role Description
Plain text file class_sqltable.php Class The class file
Accessible without login Plain text file multiplecell.txt Doc. How to have multiple values per cell
Plain text file sqltable.txt Doc. how to use the class and example
Plain text file CHANGELOG.txt Doc. Changes from 2006-2010
Plain text file License_LGPL-3.0.txt Lic. LGPL License

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:2,655
This week:0
All time:1,384
This week:1,095Up
 User Ratings  
 
 All time
Utility:76%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:56%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1948