Örnek array;
$array = [
"foo" => "bar",
"bar" => "foo",
];Yani ifadenizdeki diziyi şöyle yapmanız gerekiyor -> değil => ;
[
'mail' => $this->input->post('email'),
'password' =>$this->input->post('sifre')
]Baştaki exist değişkenin kullanımı da yanlış. Muhtemelen böyle bir şey istiyorsunuz
echo $this->db->from('admin')->where( ['mail' => $this->input->post('email'),'password' =>$this->input->post('sifre')] )->get()->row();Değişene atayıp kullanmak için
$exist = $this->db->from('admin')->where(['mail' => $this->input->post('email'),'password' =>$this->input->post('sifre')] )->get()->row();
Çok Ama Çok Teşekür Ederim Size