
February 10th, 2004, 03:37 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 20
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
ASP form to SQL query parameter
Here is a simpler version of my problem. I cannot pass the selection from a drop list over to another asp page to be used as a variable.
<form action="<%=Request("Server_Storage.asp")%>" method="get">
<select name="server" size="1">
<option value="Eagle">Eagle</option>
<option value="Enterprise">Enterprise</option>
<option value="Endeavour">Endeavour</option>
</select> <input type="submit" value="Submit">
</form>
----------------------------------------------
This is how I am sending the code.
<img src="Server_Storage.asp?server=<%=Servername%>">
Sorry this is so vaque but I am not sure what to do at this point. Basically I want to throw the results of the form selection into the parameters for a stored procedure SQL.
|