Using PHP to populate a <select></select>?
<pre><code>&lt;select name="select"&gt;

&lt;/select&gt;
</code></pre>

<p>I want to populate the above tag with values from database.</p>

<p>I have written php code up to this.</p>

<pre><code>while($row=mysql_fetch_array($result))
{

}
</code></pre>

<p>$row is fetching fetching correct values.. how to add it to the <code>&lt;select&gt;</code></p>

<p>please help... Am new to programming</p>
