[eluser]Jacob Graf[/eluser]
Why doesn't this work? Ohh, and db_m model is autoloaded. Form data is submitted to this controller...
Code:
function save() {
$this->db_m->save($_POST);
}
and I can't get to the form data in the model...
Code:
function save($input) {
$data = array(
'event_name' => $event_name
);
$this->db->insert('events', $data);
}
Sorry. I haven't coded in CI for a while and I bet this is something simple! Erghh!