看看这个函数写法正确吗?
function where($table,$id){
$this->db->where('id',$id);
$query=$this->db->get($table);
return $query; 是要做什么用的 ghost2006n 发表于 2013-4-24 22:05 static/image/common/back.gif
是要做什么用的
就是$data=$this->admin_model->where('message',$this->uri->segment(3)); 这个语句不能执行我感觉是where函数的问题 $this->admin_model->where('message',$this->uri->segment(3))->row() 楼上正解 还是不行,出现这个错误 问题已经解决,我没有加载model中的admin_model类
页:
[1]