title: create dyanamic dropdown using Codeigniter form helper and get value from database
body: <p>my array something like this</p>
  
  <p>Array
  (
      [0] => Array
          (
              [id] => 1
              [name] => Admin
          )</p>
  
  <pre><code>[1] =&gt; Array
      (
          [id] =&gt; 2
          [name] =&gt; Manager
      )
  
  [2] =&gt; Array
      (
          [id] =&gt; 3
          [name] =&gt; User
      )
  
  [3] =&gt; Array
      (
          [id] =&gt; 6
          [name] =&gt; Visitor
      )
  
  [4] =&gt; Array
      (
          [id] =&gt; 35
          [name] =&gt; gggggggggg
      )
  </code></pre>
  
  <p>)</p>
  
  <p>and 
  i am trying to create  </p>