|
楼主 |
发表于 2010-4-16 19:29:57
|
显示全部楼层
function check_login()
{
$name=$this->input->post('name');
$password=$this->input->post('password',TRUE);
$password=md5($password);
$sql = "SELECT cid FROM jzw_companys WHERE name = '$name' and password = '$password'";
$quer=$this->db->query($sql);
if ($quer->num_rows()> 0 )
{
$this->load->view('member/tips',$data);
}
这样写了,还是报错!管理员或版主帮忙看看!跪谢! |
|