Welcome Guest, Not a member yet? Register   Sign In
How to populate a dropdown from result_array
#2

what you get from the model is an array with departments, the array being an indexed array, but when you pass the data to the dropdown you simply pass it an array which doesn't exist: $departments['names'].
Reply


Messages In This Thread
RE: How to populate a dropdown from result_array - by Avenirer - 01-13-2015, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB