|
function check_login()
{
$name=$this->input->post('name');
$password=$this->input->post('password',TRUE);
$sql = "SELECT cid FROM companys WHERE name = '$name'";
$quer=$this->db->query($sql);
if ($quer->num_rows()> 0 )
{
$this->load->view('member/tips',$data);
}
密码是MD5加密的,总提示我密码不对,请问应该怎么写?最好是完整的写一下,谢谢!十分感谢! |
|