Forum
>
New classes for PHP
Welcome, Guest

New classes for PHP
Topic Normal New classes for PHP
by Charan on 08/26/2009 15:48

1. Table Constructor -

Short description:
Display an HTML table from array, JSON or XML

Detailed description:
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

for more details : http://www.phpclasses.org/browse/package/5613.html


2. Data base utility class

Short description:
Execute MySQL queries from lists of parameters

Detailed description:
This class can be used to execute MySQL queries from lists of parameters.

It can execute SELECT, INSERT, UPDATE and DELETE queries from parameters that define tables, fields, values and conditions.

The SELECT queries return results in arrays.

for more details : http://www.phpclasses.org/browse/package/5617.html