title: How to populate select element in zend 1.12 from db
body: <p>i'm creating a application in which i need to populate data in select element from a db table.
  i need to populate user roles from db 
  my form code is</p>
  
  <pre><code> $this-&gt;pass2-&gt;addValidator('Identical', false, array('token' =&gt; 'pass1'));
      $this-&gt;addElement('select', 'userrole', array(
          'class' =&gt; 'form-control',
          'required' =&gt; true,
          'multiOptions' =&gt; 
      ));
  </code></pre>
  
  <p>what should i do with multi options ?,
  is there any way to load data from db in element using controller ,please helpme 
  thanks </p>