Willbor
2010-01-27 06:36:24 UTC
default.html and submitform.php, they are located in C:\wamp\www\Iza\
I set up WAMPserver. when I type http://localhost/Iza/default.html , it loads my default.html - everything looks OK!
My default.html has this source:
My submitform.php has this source.
print "Hi!";
print ("Thanks for submitting your name.");
print ($a1);
print (" ");
print ($h1);
?>
But, after I press a Submit button the result is (looks like php works, but the values of variables are not received):
Hi! Thanks for submitting your name.
Notice: Undefined variable: a1 in C:\wamp\www\Iza\submitform.php on line 6
Notice: Undefined variable: h1 in C:\wamp\www\Iza\submitform.php on line 8
Why I don't get values in a1 and h1?
Thank you.