Login   Register  
PHP Classes
elePHPant
Icontem

MySQL 2 JSON: Generate JSON output from MySQL query results

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-05-02 (5 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 1,570 This week: 2All time: 2,323 This week: 817Up
Version License PHP version Categories  
mysql_to_json 1.0Artistic License5.0PHP 5, Databases, Data types
Description Author  

This class can be use to Generate JSON output from MySQL query results.

It takes an handle of a previously executed MySQL database query and retrieves the results to generate a JSON string with the values of all the result rows.

Picture of Luke Szanto
Name: Luke Szanto <contact>
Classes: 2 packages by
Country: Australia Australia
Age: ???
All time rank: 144321 in Australia Australia
Week rank: 751 Up9 in Australia Australia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file documentation.txt Doc. Simple documentation
Accessible without login Plain text file example.php Example Example, shows 2 methods of using mysql 2 json
Plain text file mysql_to_json.class.php Class The actual class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,570All time:2,323
 This week:2This week:817Up
User Ratings User Comments (1)  
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:307