Welcome Guest, Not a member yet? Register   Sign In
need a help
#3

[eluser]samitrimal[/eluser]
This is my model class .

Code:
function CheckUserLogin($user,$pass){
      //  $user=$this->db->escape_string($user);
        ///$pass=$this->db->escape_string($pass);
       // $this->db->select('username,userpass');
        $this->db->where('username',$user);
        $this->db->where('userpass',$pass);
      $result= $this->db->get('tbl_admin');
It shows error when i remove comment of
Code:
$this->db->escape_string

Regards,
bob


Messages In This Thread
need a help - by El Forum - 08-24-2010, 10:06 PM
need a help - by El Forum - 08-24-2010, 11:18 PM
need a help - by El Forum - 08-25-2010, 05:15 AM
need a help - by El Forum - 08-25-2010, 05:24 AM
need a help - by El Forum - 08-25-2010, 05:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB