0

Thank you in advance to anyone who can answer this for me.

In a registration form of mine the user selects the state they live in with a drop-down menu.
In the 'Update' form I would like their previous choice to automatically display its selection.

For example if my profile displays "Arkansas" my update form should be already display "Arkansas" in the the select menu, but I keep getting 'None Selected'?

I know the query is complete. I can make the data display correctly using
<input type='text' name ='teamstate' value ='{$row}'> but can't get the select tag to work.


Any help is greatly appreciated!
//snippet of my code

<SELECT NAME='teamstate' SIZE='1' > selected>{$row['$teamstate']}>
			<OPTION VALUE =''>None selected</option>
			<OPTION VALUE='Alabama'>Alabama
			</OPTION>
			<OPTION VALUE='Alaska'>Alaska
			</OPTION>
			<OPTION VALUE='Arizona'>Arizona
			</OPTION>
</SELECT>
2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by nav33n
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.