Welcome Guest, Not a member yet? Register   Sign In
validated form values
#1

[eluser]bennyhill[/eluser]
I did the example on form validation in the documentation. Now I want to send the array of cleaned, validated, and prepped data to an insert function. What array is the validated values stored in? In other words, what should I pass to the insert function? Are the validated and prepped values put back in the $_POST array?
#2

[eluser]bennyhill[/eluser]
I think it is the POST array. Thanks.
#3

[eluser]ontguy[/eluser]
I think there are 3 options, all should have the same data:
Code:
$this->input->post('name')
or
Code:
$_POST['name']
or
Code:
$this->validation->name




Theme © iAndrew 2016 - Forum software by © MyBB