Login   Register  
PHP Classes
elePHPant
Icontem

MySQL2JSON: Generate JSON representation from MySQL queries

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-01-30 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 523 All time: 5,133 This week: 1,889Up
Version License PHP version Categories  
simple_mysql2json 1.0BSD License3.0Databases
Description Author  

This class can be used to generate a JSON representation of data returned by MySQL queries.

It can execute given MySQL and traverse the result set to generate a JSON representation of the data in the result rows and columns.

The generated JSON code is returned as a string.

Picture of Ellery Leung
Name: Ellery Leung <contact>
Classes: 6 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 3191 in Hong Kong Hong Kong
Week rank: 362 Down1 in Hong Kong Hong Kong Equal

  Files folder image Files  
File Role Description
Plain text file MYSQL2JSON.class.php Class Class source
Accessible without login Plain text file mysql2json_example.php Example Class usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:523All time:5,133
 This week:0This week:1,889Up