codeigniter - pass all form values to model
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-04-09T17:37:14Z
Indexed on
2010/04/09
17:43 UTC
Read the original article
Hit count: 201
codeigniter
I have a registration form that collects several parameters.
i need to pass all these AND a confirmation code (generated by the controller) to the model for inserting in the DB.
How can I do that?
is there a way to pass the whole post to the model, eg like
$this->model->insert($this->input->form(), $confirmation_code)?
© Stack Overflow or respective owner