I have a dropdown <select> field which gets its values from the db. I'm currently looking for a way to use set_select()
but have been unsuccessful. Here's my existing view:
<select name="userbase">
<?php echo $userbase_list; ?>
</select>
The variable $userbase_list
is a string containing all the <option value="">text</option>
html to be inserted. Since this <select> is generated from the db, does that mean I can't use the CI set_select()
anymore?