MRQuestion
Technical User
Hi,
I'm new to asp so could someone help me with this variable. I would like an user to enter a number 1-6 into "fname" and click submit and for the page to return a picture with the varible in the source.
I.E.
<img src="/images/Map/loc"& ("fnum" &".gif">
here is my code
++++++++++++++++++++++++++++++++++++++++++++++
<html>
<body>
<form action="demo_mapping.asp" method="get">
Please enter the number 1-6:
<input type="text" name="fnum"><br><br>
<input type="submit" value="Submit">
</form>
<%
If Request.QueryString("fnum"<>"" Then
Response.Write ("the number you chose was " & Request.QueryString("fnum" & "!"
End If
%>
<img src="/images/Map/loc4.gif">
</body>
</html>
Thanks a bunch
MR Question
I'm new to asp so could someone help me with this variable. I would like an user to enter a number 1-6 into "fname" and click submit and for the page to return a picture with the varible in the source.
I.E.
<img src="/images/Map/loc"& ("fnum" &".gif">
here is my code
++++++++++++++++++++++++++++++++++++++++++++++
<html>
<body>
<form action="demo_mapping.asp" method="get">
Please enter the number 1-6:
<input type="text" name="fnum"><br><br>
<input type="submit" value="Submit">
</form>
<%
If Request.QueryString("fnum"<>"" Then
Response.Write ("the number you chose was " & Request.QueryString("fnum" & "!"
End If
%>
<img src="/images/Map/loc4.gif">
</body>
</html>
Thanks a bunch
MR Question