when i run this code
public function LogInn()
{
$email = $this->input->post('email');
$password = $this->input->post('password');
$this->load->model('LogIn_Model');
$a = $this->LogIn_Model->Create_Session($email,$password);
if($a==1)
{
redirect('Hadees/word');
}
}
give an Error in Log file
ERROR - 2018-09-06 12:39:56 --> Severity: Error --> Call to undefined function redirect()
and not redirect