[eluser]DZlobins[/eluser]
Hey guys,
I'm fairly new to CodeIgniter and I've been having a small issue I can't seem to solve.
I have a page for a user to register an account, and if they make an error, instead of reloading the view, a new view loads UNDER the current one. Here is some pseudo code that handles this
if ($this->form_validation->run() == FALSE)
{
// validation didn't work, show the register view again
$this->load->view('register');
}
the else portion works
Is there a reload view function?