I'm trying to get the option item selected in a form select element using Codeigniter...
I have a controller named results with this code in it
...
`//get form data if($_SERVER['REQUEST_METHOD'] == "POST"){ $data['searchdata'] = array( "ionum" => $this->input->post('ionum'), "thisdb" => $this->input->post('thisdb')
);
}`
which loads into a view, the 'ionum' is a text input which I can retrieve, the 'thisdb' is the select, I get no results for it...how do I pull that?