下载 链接:http://pan.baidu.com/share/link?shareid=549725&uk=3070429748 [tooltip title="密码"] 密码:k3bo [/tooltip]

 

下载内容包含 :

MyJSON类文件 说明文档(英文)

JSON-mysqlMyJSON – Work with MySQL + JSON-爱程序网

 

实例文件

JSON-mysqlMyJSON – Work with MySQL + JSON-爱程序网

MyJSON是一个PHP5类,有了它,你现在能够:

  1.  创建JSON字符串从一个MySQL查询
  2.  JSON内容插入到MySQL表

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 valium no prescription needed site:espharmacycom: 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

内容:本站提供的内容皆为网络收集如果有侵犯您的权利请联系

info@iiexe.com

例子

创建JSON MySQL查询:

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

 

Creating indented JSON from MySQL Query:

创建缩进JSON从MySQL查询:

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

从JSON创建MySQL查询:

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