How to populate a dropdown from result_array |
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'].
Website: http://avenir.ro
|
Messages In This Thread |
How to populate a dropdown from result_array - by andyblem - 01-12-2015, 11:59 PM
RE: How to populate a dropdown from result_array - by Avenirer - 01-13-2015, 02:23 AM
RE: How to populate a dropdown from result_array - by andyblem - 01-13-2015, 03:58 AM
RE: How to populate a dropdown from result_array - by ivantcholakov - 01-13-2015, 02:32 AM
RE: How to populate a dropdown from result_array - by Rufnex - 01-13-2015, 01:24 PM
RE: How to populate a dropdown from result_array - by andyblem - 01-15-2015, 12:59 AM
RE: How to populate a dropdown from result_array - by ivantcholakov - 01-13-2015, 01:52 PM
RE: How to populate a dropdown from result_array - by ivantcholakov - 01-13-2015, 02:26 PM
RE: How to populate a dropdown from result_array - by CroNiX - 01-21-2015, 02:02 PM
|