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

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

WBOY
Release: 2016-06-13 11:43:19
Original
920 people have browsed it

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

test 对应表 其它对应字段 

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template