application/controllers/Auth.php
/* function for check the email id exists or not */
function for check the email id exists or not
function for check the email id exists or not
public function email_exists($email)
	{	
		$status = $this->Auth_model->email_exists($email);	
	    if (!$status){
	        $this->form_validation->set_message('email_exists', 'This email is not registered with us');
	        return false;
	    }else{
	        return true;
	    }
	}
public function email_exists ( $ email ) { $ status = $ this -> Auth_model -> email_exists ( $ email ) ; if ( ! $ status ) { $ this -> form_validation -> set_message ( 'email_exists' , 'This email is not registered with us' ) ; return false ; } else { return true ; } }
function for check the email id exists or not
function for check the email id exists or not