Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.md

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shibly  >  MyJSON  >  readme.md  >  Download  
File: readme.md
Role: Documentation
Content type: text/plain
Description: Documentation
Class: MyJSON
Return MySQL query results in JSON format
Author: By
Last change:
Date: 11 months ago
Size: 388 bytes
 

Contents

Class file image Download
# MySql_to_Json

`mysql_to-json` is a php class that will allow you to create json string from a mysql query with the MySQLtoJSON method with 1 or 2 parameters.

1. $query - The mysql query (required)
2. $indented - If true, the return string will be indented

`mysql_to_json` is build with the top of PDO. It is still in development stage. This is the first release. Feel free to fork.