Drop-down box displays current choice twice when editing form
Posted on 2012-03-27
I am trying to build a drop-down choice that does not query a database - basically creating the choices with html. I want to write the selected value to my database.
When someone visits the page and need to make a change to the value it shows up in the drop down twice - the current value and then the choices again. For instance, if the choices are cat, dog and rabbit... if cat was previously selected it will show cat twice.
Below is my drop-down. Can someone help me display the current database choice and then only show the "other" choices?