Jump to content

Tutorial


TechLady

Recommended Posts

Hello Everyone,I am brand new to asp. I am on the tutorial for asp and I can't get the form to work. When I submit I don't see the informtaion I filled out in the text box. I just get the word "Hello". What am I doing wrong?Here is my code.<%@ Language=VBScript %><html><body><form action="demo_reqquery.asp" method="get" ID="Form1">Your name: <input type="text" name="fname" size="20" ID="Text1"/><input type="submit" value="Submit" ID="Submit1" NAME="Submit1"/></form><%dim fnamefname=Request.QueryString("fname")If fname<>"" Then Response.Write("Hello " & fname & "!<br />") Response.Write("How are you today?")End If%></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...