07 2018 档案

codeigniter视图
摘要:怎么加载视图? 例如我们有一个视图在 application/views/welcome.php 视图可以在子目录中, 例如: application/views/html/welcome.php 怎么向视图传递动态变量 我们目前有welcome.php这个视图, 现在我们给它的代码是 在渲染视图时 阅读全文

posted @ 2018-07-20 19:28 andydaopeng 阅读(142) 评论(0) 推荐(0) 编辑

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 阅读(102) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示