Multiple employee list not working in orangehrm
<p>I am trying to add employees list in dropdown  in jobtitle section but i am getting only one name from dropdown.Here's my code </p>

<pre><code>JobTitleForm.php
mysql_connect("xxxxx","xxxxx","xxxx");
        mysql_select_db("xxxxxx");
        $querydata=mysql_query("select * from hs_hr_employee");

        while($row=mysql_fetch_array($querydata))
         {
            $firstname=$row["emp_firstname"];
            $employeeid=$row["employee_id"];
            $employees = array($employeeid=&gt;$firstname);
            $widgets['Reportingmanager'] = new sfWidgetFormSelect(array('choices' =&gt; $employees));

         }

saveJobTitlesuccess.php
 &lt;li class="largeTextBox"&gt;
                        &lt;?php echo $form['Reportingmanager']-&gt;renderLabel(__('Reportingmanager')); ?&gt;
                        &lt;?php echo $form['Reportingmanager']-&gt;render(); ?&gt;
                    &lt;/li&gt;
</code></pre>