title: Display Mysql table field values in Select box
body: <p>I want to display the Mysql table Filed values in selectbox. I tried the following code to display.
  But it normally display the specified field values in echo function and not in select box. I don't know where I mistake.</p>
  
  <pre><code> $con = mysql_connect("localhost","root","root");
   $db = mysql_select_db("Time_sheet",$con);
   $get=mysql_query("SELECT Emp_id FROM Employee");
   while($row = mysql_fetch_assoc($get))
  {
  echo ($row['Emp_id']."&lt;br/&gt;");
  }
  
  &lt;html&gt;
  &lt;body&gt;
  &lt;form&gt;
   &lt;select&gt; 
  &lt;option value = "&lt;?php echo($row['Emp_id'])?&gt;" &gt;&lt;?php echo($row['Emp_id']) ?&gt;&lt;/option&gt;
  &lt;/select&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Also the field values must be display in ascending order. How to achieve.. </p>