[eluser]xtremer360[/eluser]
This is frustrating I did this because I was sure this was it but apparently isn't.
Code:
public function _username_exists($username)
{
if ($this->users_model->is_username_available($username))
{
$this->form_validation->set_message('username', 'Testing2');
return FALSE;
}
else
{
return TRUE;
}
}
public function _email_address_exists($email_address)
{
if ($this->users_model->is_email_address_available($email_address))
{
$this->form_validation->set_message('email_address', 'Testing2');
return FALSE;
}
else
{
return TRUE;
}
}