You don't say what db you are using, however, assuming MySQL, ff the username is a primary key, you can do a REPLACE statement.
-> REPLACE into table (field1, field2, field3) values(value1, value2, value3);
If username is a primary key it will delete the current record and add a new one with the newer information.
OR...why not just use an UPDATE statement?
For the drop down:
<select name="xxx">
$query = "select distinct(name) from sometable";
$result = mysql_query($query, $db_connection);
while($row = mysql_fetch_row($result))
{
$name=$row[0];
print("<option name='xxx' value='" . $name . "'>" . $name . "\n");
}
</select>
That will populate a drop menu with the values from the 'sometable' table. This is a very simple example, but it should point you in a good direction I think.
-- Jason