2018年7月9日

codeigniter 使用

摘要: CodeIgniter系列 记录count和分页 对于某个表的不带条件的count,可以简单的用 $total = $this->db->count_all($table_name) 来获取,但是如果有条件,则要用count_all_results $this->db->where('sex', ' 阅读全文

posted @ 2018-07-09 09:11 andydaopeng 阅读(100) 评论(0) 推荐(0) 编辑

导航