Welcome Guest, Not a member yet? Register   Sign In
getting the selected value in a dropdown list

In my view form, I have a dropdown list with values.

I want to pass the selected value of the user to the controller.

form_input() have this in the controller:


is there a counterpart for the form_dropdown() , wherein it can access the selected value from the view file?

[eluser]Thorpe Obazee[/eluser]
It uses the same method, $this->input->post('field_name')

Theme © iAndrew 2016 - Forum software by © MyBB