$result = $this->data_mdl->get_datas();
$data['result'] = true;
$data['data'] = $result->result_array();
echo json_encode($data);
$result = $this->data_mdl->get_datas();
$data['result'] = true;
$data['data'] = $result->result_array();
echo json_encode($data);
本文标题:ci框架查询结果获取数组返回json
本文链接:https://www.haomeiwen.com/subject/xzogmttx.html
网友评论