[eluser]Unknown[/eluser]
Ok guys, probably a simple question. I want a multi-select:
<select name="roles" multiple>
<option value='1'>admin</option>
<option value='2'>user</option>
</select>
I want the value of this multi-select in my program. Say I select both roles. When I do:
$this->input->post("roles")
I only get the value 2, not an array or something. What am I doing wrong? Thanks!