CodeIgniter allows you to access POSTed data through:
$this->input->post('input_name');
where 'input_name' is the name of the form field. This works well for a static form, where each input name is known in advance.
In my case, I am loading a collection of key / value pairs from the database. The form contains text input for each key / value pair.
I am wondering if there is a way to get an array of published data via CodeIgniter api?
Thanks!
input post php forms codeigniter
Gloryfish
source share