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