![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
|
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 ![]() |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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.
|
|
|
|
|
|
#3 | |
|
Programmer
|
Quote:
![]() |
|
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Heh. If you have a book on the language, it should have told you this already.
|
|
|
|
|
|
#5 |
|
Programmer
|
sorry, im not hardcore nerd, dont have a book
![]() |
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Get one. It's the best way to learn a language (besides taking a course). Or you could struggle. It's your choice
![]() |
|
|
|
|
|
#7 |
|
Programmer
|
where do i aquire one of these new-fangled books?
hell, ill give hardcore a shot |
|
|
|
|
|
#8 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
Check out amazon.com, or your local barnes and nobels.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#9 |
|
Programmer
|
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? |
|
|
|
|
|
#10 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Take a look at PHP & MySQL Web Development - an excellent book.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|