well maybe i mis-understood what you wanted, the code snippet i posted does this :
queries a database and displays the record values of a table in a drop-down box.
eg
table name = users
id|user_name
1|me
2|you
3|them
4|us
then the code does this
<select name="choices">
<option value=0>select</option>
<option value=1>me</option>
<option value=2>you</option>
<option value=3>them</option>
<option value=4>us</option>
</select>
$row[0] refers to column id and row[1] refers to user_name.
<option value=0>select</option> is the initial default value
reg
kevin