hxfsc
发表于 2010-8-3 10:54:36
关注!好像到现在还没有答案啊!
lamtin
发表于 2010-8-3 11:33:03
没看懂~
ttyangz
发表于 2010-8-16 21:04:38
我也折磨了很久,用's_name' => $this->input->xss_clean($this->input->post('s_name'))或者$config['total_rows'] = $this->MStudent->serchStudents($_POST)->num_rows();]
function serchStudents($data)
{//$data传递数据用变量名做下标取数据
return $this->db->get_where('ip', array('p_name'=> $data['p_name'])); //ok
}