I would like to be able to write a code like this to a asp
file, Use a asp page input box from action
<%
Dim doit
doit = request.form("doit"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
if doit = "doit" then
Session("name"
= request.form("name"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Session("color"
= request.form("color"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
response.write ("Users name: "
& Session("name"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Response.write ("<BR>"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
response.write ("Color chosen: "
& Session("color"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Else
if doit = "" then
%>
<br><font color="#00FF00" size= 3>Step into the Lime-light</font>
<FORM METHOD="post" ACTION="colortest.asp">
Please enter your name:<font size="1">
<INPUT TYPE="text" NAME="name"></font>
<BR><BR>
Please select a color:<BR>
<input type="radio" name="color" value="#00FF00"><font color="#00FF00">Lime</font>
<input type="radio" name="color" value="RED"><font color="RED">RED</font>
<input type="radio" name="color" value="Black"><font
color="Black">Black</font>
<BR><BR>
<input type="hidden" name="doit" value="doit">
<INPUT TYPE="submit" VALUE="Submit"> <input type="reset" name="reset"
Value=" Reset ">
</form>
<%
End if
End if
%>
------------------------colortest.asp-------------------------
but I want to the result to print to file
To Be this way CAN THIS BE DONE?
<% If Handle="WarGod MA" then
Response.write "<b><font color='gold'>"
end if %>
WarGod MA being the name the User put in
file, Use a asp page input box from action
<%
Dim doit
doit = request.form("doit"
if doit = "doit" then
Session("name"
Session("color"
response.write ("Users name: "
Response.write ("<BR>"
response.write ("Color chosen: "
Else
if doit = "" then
%>
<br><font color="#00FF00" size= 3>Step into the Lime-light</font>
<FORM METHOD="post" ACTION="colortest.asp">
Please enter your name:<font size="1">
<INPUT TYPE="text" NAME="name"></font>
<BR><BR>
Please select a color:<BR>
<input type="radio" name="color" value="#00FF00"><font color="#00FF00">Lime</font>
<input type="radio" name="color" value="RED"><font color="RED">RED</font>
<input type="radio" name="color" value="Black"><font
color="Black">Black</font>
<BR><BR>
<input type="hidden" name="doit" value="doit">
<INPUT TYPE="submit" VALUE="Submit"> <input type="reset" name="reset"
Value=" Reset ">
</form>
<%
End if
End if
%>
------------------------colortest.asp-------------------------
but I want to the result to print to file
To Be this way CAN THIS BE DONE?
<% If Handle="WarGod MA" then
Response.write "<b><font color='gold'>"
end if %>
WarGod MA being the name the User put in