Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP (http://www.programmingforums.org/forum32.html)
-   -   why doesnt this work (http://www.programmingforums.org/showthread.php?t=154)

TerraNerd Jul 13th, 2004 1:00 AM

Whats wrong with my coding?

Unknown.html:
:

<html>
<head><title>Asking for information</title></head>
<body>
<form method="post" action="unknown.asp">
Your name: <input type="text" name="YourName" size="20"><BR>
Your email: <input type="text" name="YourEmail" size="15"><BR>
<input type="Submit" value="Submit">
</form>
</body>
</html>


Unknown.asp:
:

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


when i press the submit, it shows the Your name is, then Your email is, but it doesnt show what i requested it to, it doesnt show anything after that :(

Ooble Jul 13th, 2004 6:37 AM

Is this once you've uploaded it to the server? ASP is a server-side language, so it has to be on a server (either local or remote) for it to work. I don't know much about it, but with PHP you have to either upload it to a server with PHP installed, or install Apache and PHP on your PC and view the pages by typing "localhost" into your Address bar.

TerraNerd Jul 13th, 2004 5:17 PM

Quote:

ASP is a server-side language, so it has to be on a server (either local or remote) for it to work.
theres my problem :rolleyes:

Ooble Jul 13th, 2004 5:24 PM

Heh. If you have a book on the language, it should have told you this already.

TerraNerd Jul 13th, 2004 5:30 PM

sorry, im not hardcore nerd, dont have a book :rolleyes:

Ooble Jul 13th, 2004 7:40 PM

Get one. It's the best way to learn a language (besides taking a course). Or you could struggle. It's your choice :P

TerraNerd Jul 14th, 2004 12:34 AM

where do i aquire one of these new-fangled books?


hell, ill give hardcore a shot

Mjordan2nd Jul 14th, 2004 12:34 AM

Check out amazon.com, or your local barnes and nobels.

TerraNerd Jul 17th, 2004 10:37 AM

ohh! ohh! ohh! i have a $30 gift certificate for amazon.com!!


will it be that much? :huh: *goes and checks only to report back*

I want to learn PHP over all, and i found this book,

http://www.amazon.com/exec/obidos/tg/detai...=glance&s=books


a good buy?

Ooble Jul 27th, 2004 6:12 AM

Take a look at PHP & MySQL Web Development - an excellent book.


All times are GMT -5. The time now is 3:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC