[eluser]oliverkalen[/eluser]
I apologize for my ignorance here.
What is the proper way to retrieve validated data for inserting into a database, etc?
Code:
$email = $this->form_validation->_field_data['email']['postdata'];
Code:
$email = $this->input->post('email');
Has the data returned by the post() function been run through the appropriate validation rules?
i.e. if one of my rules is "trim" will the post() function returned a trimmed value or the original data with trailing spaces?
Or is there another method I am missing?