Using PHP to populate a <select></select> ?

Posted by Flins on Stack Overflow See other posts from Stack Overflow or by Flins
Published on 2010-03-17T06:21:38Z Indexed on 2010/03/17 6:31 UTC
Read the original article Hit count: 198

Filed under:
|
<select name="select">

</select>

I want to populate the above tag with values from database.

I have written php code up to this.

while($row=mysql_fetch_array($result))
{

}

$row is fetching fetching correct values.. how to add it to the <select>

please help... Am new to programming

© Stack Overflow or respective owner

Related posts about php

Related posts about beginner