Alright I got a book on PHP yesterday, i am trying an incredibly easy script but having problems getting it to work. Please try it, none of the variables transfer from the html file to the php file. Please tell me what is wrong, I hate to be so frustrated at the begining of this book.
Check it out here
here is the code for the html
<html>
<head>
<title>Html Form</title>
</head>
<body>
Fill this out for testing purposes. TOBART
<FORM ACTION="HandleForm.php" METHOD=POST>
First Name <INPUT TYPE=TEXT NAME="FirstName" size=20><br>
Last Name <INPUT TYPE=TEXT NAME="LastName" size=40><br>
Email Address <INPUT TYPE=TEXT NAME="Email" size=60><br>
Comments <TEXTAREA NAME="Comments" ROWS=5 COLS=40></textarea><br>
<INPUT TYPE=SUBMIT NAME="SUBMIT" VALUE="Submit!">
</FORM>
</body>
</html>
and here is the php file HandleForm.php
<html>
<head>
<title>Form Results</title>
<body>
<?php
/ this page receives and handles the data generated by "form.html". /
print "Your First Name is $FirstName<br>\n";
print "Your Last Name is $LastName<br>\n";
print "Your email address is $Email<br>\n";
print "This is what you had to say:<br> $Comments<br>\n";
?>
</body>
</html>