[eluser]RandyCram[/eluser]
Hello,
I am having a little trouble with the form_validation. Not sure what's going on.
Code:
if(!$this->form_validation->run() == FALSE) {
if($this->input->post('site_prefs')) {
$this->auth_lib->update_siteprefs($this->data['userinfo']->id, $this->input->post('newsletter'), $this->input->post('wishlist'));
} else {
die();
}
}
for some reason if i change FALSE to TRUE it will run the code and but return with a blank page. with it as FALSE it doesn't even run it. just runs the else.
Any suggestions?