Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio Buttons

Status
Not open for further replies.

finnoscar

Technical User
Aug 17, 2002
55
GB
How do you use radio buttons to return information from a database using ASP and JavaScript?
 
<%

'# This would return the value of the radio button checked:
Response.Write(Request.Form(&quot;radio_button_name&quot;))

%>

Knowing that, you could look on this page:
to find out how to SELECT information from a db then from there on you should get it..

strSQL = &quot;SELECT * FROM UserEmails WHERE userID=&quot; & Request.Form(&quot;radiobutton&quot;)

Jason

www.vzio.com
ASP WEB DEVELOPMENT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top