where() showing "IS NULL" instead of variable value |
$emial=''abc@abc.com';
$pass= 123; $this->db->select('*')->from('user')->where(' email',$email)->where('password',$pass)-> get()->result(); You are using different variable name insist of where condition. Correct code: $email=''abc@abc.com'; $pass= 123; $this->db->select('*')->from('user')->where(' email',$email)->where('password',$pass)-> get()->result(); |
Messages In This Thread |
where() showing "IS NULL" instead of variable value - by ktmonty - 01-01-2018, 11:34 PM
RE: where() showing "IS NULL" instead of variable value - by XtreemDeveloper - 01-01-2018, 11:39 PM
RE: where() showing "IS NULL" instead of variable value - by ktmonty - 01-01-2018, 11:43 PM
RE: where() showing "IS NULL" instead of variable value - by InsiteFX - 01-02-2018, 03:52 AM
RE: where() showing "IS NULL" instead of variable value - by ktmonty - 01-02-2018, 04:07 AM
RE: where() showing "IS NULL" instead of variable value - by Narf - 01-02-2018, 09:03 AM
|