CI中的数据库操作(1)
摘要:
数据库中的访问 修改配置文件 application/config/database.php 将数据库访问对象,装载到超级对象的属性中$this->db $this->load->database(); $res=$this->db->query($sql);//返回对象 ... 阅读全文
posted @ 2015-03-18 22:31 ziyi_ang 阅读(132) 评论(0) 推荐(0)
posted @ 2015-03-18 22:31 ziyi_ang 阅读(132) 评论(0) 推荐(0)
posted @ 2015-03-18 22:12 ziyi_ang 阅读(130) 评论(0) 推荐(0)