多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 查询 ### 基本查询 ~~~ $this->db->query('YOUR QUERY HERE'); ~~~ ### 查询绑定 ~~~ $sql = "SELECT * FROM some_table WHERE id = ? AND status = ? AND author = ?"; $this->db->query($sql, array(3, 'live', 'Rick')); ~~~ ### 更新数据 ~~~ $numberId = $id; $data = array('password' => $password); $where = array("id" =>$numberId); $str = $this->db->update_string('table_name', $data, $where); ~~~