Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 1,404 | All time: 2,760 This week: 235![]() |
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 |
![]() |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | example |
![]() |
Class | class |
![]() ![]() |
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.