MyJSON – Work with MySQL + JSON

MyJSON – Work with MySQL + JSON Created by Sourcegeek. This templates have specific characteristics, namely: MyJSON is a PHP5 Class, with it, you are now able .

You can use this MyJSON – Work with MySQL + JSON on Php scripts category for api, backup, class, database, easy, export, import, integration, json, mysql, php5, response, sql, xml and another uses.

MyJSON - Work with MySQL + JSON
© Copyright by Sourcegeek

Features:

  • None: None
  • Php 5.x: PHP 5.x
  • Javascript js, javascript json, html, css, php, sql: JavaScript JS, JavaScript JSON, HTML, CSS, PHP, SQL
  • None: None
  • None: None

MyJSON is a PHP5 Class, with it, you are now able to:

  1. Create JSON string from a MySQL Query
  2. Insert JSON content into a MySQL Table
  3. Create/Insert will work as export! So you is a new experience on backups: with JSON !
  4. The JSON created can be indented or not, you choose
  5. Easy to get class-failure errors
  6. Examples of both functions are included

Examples

Creating JSON from MySQL query:

echo $json->SQLtoJSON('SELECT * FROM your_table');

Creating indented JSON from MySQL Query:

echo $json->SQLtoJSON('SELECT * FROM your_table', true);

Creating MySQL QUery from JSON :

$json->JSONtoSQL($your_json, 'your_table');

Rating will be really appreciated.Questions? Suggestions? Please, don’t doubt to leave a comment!