Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-06-08 (8 years ago) | Not enough user ratings | Total: 1,397 This week: 1 | All time: 2,697 This week: 1,047 |
Version | License | PHP version | Categories | |||
querytojson 0.1 | BSD License | 5.2 | PHP 5, Databases, Text processing, Da... |
Description | Author | |||||||||||||
This is a very simple class that converts data from MySQL query result to JSON format. |
|
Author : Loknath Bharti Email : lbharti at gmail dot com class : QueryToJson Functions queryToJson($result, $header) : It converts the mysql query result into a JSON string with $header as the top header with column header as the header for other data values Arguments : $result : mysql result returned by mysql_query() $header : top header of the JSON object Return : the JSON string |
Files |
File | Role | Description |
---|---|---|
example.php | Example | example |
queryToJson.class.php | Class | class |
README | Doc. | README |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.