PHP Classes

Table Constructor: Display an HTML table from array, JSON or XML

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,330 All time: 2,909 This week: 488Up
Version License PHP version Categories
array_xml_json2table 1.0Free for non-comm...5.0HTML, XML, PHP 5
Description 

Author

This class can be used to display an HTML table from array, JSON or XML.

It can traverse data from an array and generate an HTML table that displays that data.

It can also read data from a JSON or XML file and convert it into an array so it can also be displayed in an HTML table.

1. Simply to use
new Table ($data); // work with array
new Table ('data.json', 'json-file');
new Table ($json_string, 'json'); // work with json-string
new Table ('data.xml', 'xml-file'); // work with xml-file
new Table ($xml_string, 'xml'); // work with xml-string
2. Universal: array, xml, json
3. Quick

Picture of Ewg
Name: Ewg <contact>
Classes: 4 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 80329 in Russian Federation Russian Federation
Week rank: 178 Up10 in Russian Federation Russian Federation Up

Screenshots (1)  
  • Screenshot
  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file data.json Data Data from json-file
Accessible without login Plain text file data.xml Data Data from xml-file
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file table.class.php Class Table class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,330
This week:0
All time:2,909
This week:488Up