as part of a HTML form I am creating I would like to have a dropdown list which will list all the usernames in my database.
I thought the following code would do the
My guess is that you have a problem since you don't close your select-tag after the loop. Could that do the trick?
fetch_assoc()){ echo "" . $row['username'] . ""; } ?>