$result= $this->db->query("select * from `qx` where 1 limit 0,1")->result_array(); print_r($result[0]); echo "8888"; if(array_key_exists(‘houtai‘, $result[0])){ echo "存在"; }else{ echo "不存在"; } echo "9999";
时间: 2024-10-14 14:45:14
$result= $this->db->query("select * from `qx` where 1 limit 0,1")->result_array(); print_r($result[0]); echo "8888"; if(array_key_exists(‘houtai‘, $result[0])){ echo "存在"; }else{ echo "不存在"; } echo "9999";