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

[eluser]Unknown[/eluser]
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:

$this->input->post('name');

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

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




Theme © iAndrew 2016 - Forum software by © MyBB