PHP Classes

MySQL 2 JSON: Generate JSON output from MySQL query results

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,699 All time: 2,320 This week: 206Up
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

  Files folder image Files (3)  
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

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,699
This week:0
All time:2,320
This week:206Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1079