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.
- $query - The mysql query (required)
- $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.