[eluser]Thea_G[/eluser]
Can someone direct me to an example of how to read the form values on the view page from the controller function where it was submitted?
I used firebug and I can see the values got passed in the http response but how do I stuff them into the $data array I'm trying to build ( so I can update my database).
I want to do something like this:
Code:
$data = array(
'firstname' => post('firstname'),
'lastname' => post('lastname'),
'email' => post('email')
);
$this->db->insert('users', $data);