|
-
Nov 21st, 2002, 10:52 AM
#1
Thread Starter
Addicted Member
Can anyone explain the Goto command
I have a a page with a text box called NumberEntered that goes to NumberEntered.asp.
Can anyone please tell me whats wrong with this Goto method ?
Heres the code for NumberEntered.asp
---------------------------------------------------------------------------------
<%
Dim NumberEntered
NumberedEntered = Request.Form ("NumberEntered")
If NumberEntered = 1 Then
Goto 1
Else
Goto 2
End If
1:
Response.Write "You Entered <b>1</b>"
2:
Response.Write "You Entered <b>2</b>"
%>
-------------------------------------------------------------------------------
thanks
__________________
Living a Lie, Timmy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|