[eluser]Unknown[/eluser]
hello
i have inserted password in database using md5 and set my security salt too.
while retrieving password field and comparing it with user entered i am getting error.
my code for model is :
$sec=md5($this->input->post('UserPass'));
$this->db-> select('UserName,Password');
$this->db-> from('users');
$this->db-> where('UserName',$this->input->post('UserName'));
$this->db-> where('Password',$sec);
and the error i got is:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: errotxt
Filename: views/error_page.php
Line Number: 108
thanks allot for help