how to set value for <select> tag
<p>Using Php I have wrote the drop down list box code. 
for Edit employee details I have used the same code and I tried to set the value on list box but the value is not set. how to do this.</p>

<pre><code>Employee Name: &lt;select name=emp_name *$value='$name'*&gt;
&lt;option&gt; -- EMPLOYEE NAME -- &lt;/option&gt;
&lt;?  
    while ($q-&gt;fetchInto($row)){
        print "&lt;option&gt;$row[0]&lt;/option&gt;";
    }
?&gt;
&lt;/select&gt;
</code></pre>
