Asp

Status
Not open for further replies.

abento200947

New Member
Messages
9
Reaction score
0
Points
0
I am attempting to do a homework assignment on ASP for my form, and what is supposed to happen is after you click submit another page opens and displays what you have typed in the last name field and phone field. Instead on the second page it shows the asp code only. Is this a problem with x10hosting not being able to use asp?

I have provided the URL location to show and the basic code below (this was a test code that I grabbed online to see if it worked on this hosting site).

form_response.html

http://andybento.x10.mx/Testing2/form_response.html
<html>
<head><title>Asking for information</title></head>
<body>
<form method="post" action="form_response.asp">
Your name: <input type="text" name="name" size="20"><BR>
Your email: <input type="password" name="email" size="15"><BR>
<input type="Submit" value="Submit">
</form>
</body>
</html>

form_response.asp

<html>
<head><title>Responding to a form</title></head>
<body>
Your name is <% =Request.Form("name") %> <BR>
Your email is <% =Request.Form("email") %>
</body>
</html>
 

abento200947

New Member
Messages
9
Reaction score
0
Points
0
Thanks, thought so. I have discussed with the professor and now going another direction.
 
Status
Not open for further replies.
Top