my code
// My code:
$this->db->select('*')
->from('tbl_login')
->where(['username'=>$this->input->post('username'),'password'=>$this->input->post('password')]);
$result = $this->db->get()->result();
if($result)
var_dump($result)
else
echo "not fount";
Doesn't matter what ever I input 'admin1' or 'ADMIN1' & 'password1' or 'PASSWORD1' it retrieves data from the tables. But what I actually want is data will be retrieve when case is matched correctly.
Could anyone help???...