[eluser]sdotsen[/eluser]
oh ... hmmmm ... i knew i was missing something. so here's a part of my code from the controller.
I'm new to CI but been programming in PHP for yrs now.
Now that I look at it, it seems, my $_POST will override everything I have in $records.
Code:
$records['email'] = "trim|required|min_length[4]|xss_clean";
$this->validation->set_rules($records);
if ($this->validation->run())
{
$this->account_model->saveAccountSettings("sam", $_POST);
$this->session->set_flashdata('message', 'Done!');
redirect('account/settings');
} else {
...
}