技术文章 > 后端开发 > php教程
public function insert($data) { if (!is_array($data) ------解决方案-------------------- empty($data)) return 0; $data = $this->build_insert($data); $sql = sprintf("INSERT INTO %s %s", $this->table_name, $data); $result = $this->query($sql); return $this->insert_id();}
首页
课程
直播
社区
我的