$this->form_validation->set_rules('email', 'Email Address', 'required|valid_email|callback_email_check');
** * Checks email * * @return bool * @author Mathew **/ public function email_check($email = '') { if (empty($email)) { return FALSE; } return $this->db->where('email', $email) ->where($this->ion_auth->_extra_where) ->count_all_results($this->tables['users']) > 0; }