Welcome Guest, Not a member yet? Register   Sign In
Noob question about passing multiple form fields to a model. Be gentle
#2

[eluser]boltsabre[/eluser]
You can access the entire $_POST array in the model (without needing to manually pass it from your controller) with:
Code:
$this->input->post();
And individual $_POST items like this:
Code:
$this->input->post("some_form_input_name");


Messages In This Thread
Noob question about passing multiple form fields to a model. Be gentle - by El Forum - 07-01-2013, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB