php简单实现查询数据库返回json数据 示例代码一://设置返回json格式数据header('content-type:application/json;charset=utf8');//连接数据库$l php返回json