PDA

View Full Version : how do I say in a loop IF selected then write seleted?


jarv
05-24-2010, 02:39 PM
In my loop below, I would like to show which radio button is currently selected?!



<%While NOT br.EOF%>
<img src="<% = br("TopHeader")%>" border="0" alt="Header" width="250" height="64" /><br />
<input type="radio" name="TopHeader" value="<% = br("TopHeader")%>" />
<br />
<%br.movenext
WEND%>

Old Pedant
05-24-2010, 06:28 PM
Well, for starters you need a field in your DB table that says this is the selected value. Or you have to get the information from *somewhere*.

You don't even begin to tell us enough to help you.

addylee12
05-26-2010, 07:40 AM
Kindly provide somewhat more details so that can provide answer to your query.

This is insufficient data.