Home  >  Article  >  Backend Development  >  php数据库 读出JSON 及写入数据库,该如何解决

php数据库 读出JSON 及写入数据库,该如何解决

WBOY
WBOYOriginal
2016-06-13 11:43:19843browse

php数据库 读出JSON 及写入数据库
有人写过 php数据库 导出JSON 及导入数据库 现成的东西吗 能否共享下  我刚学PHP写的非常乱
就是 从表中读出来 

test 对应表 其它对应字段 

输出json  {"test":[{"f1":"abc","f2":123,"Bzx":false}]}

json写入 test 对应表 其它对应字段

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn