Variables.
Posted: Fri May 30, 2003 11:41 am
Hello, I am just trying to learn PHP and have started at the beginning... I hope
andyway... I have installed Apache 1.3.27 and PHP 4.2.3 and all seems to be ok. But like I said I am starting at the beginning with this.....
I have created a HTML form including the following.....
<form action="HandleForm.php" method="post">
First Name <input type=text name="first_name" size="20"><br>
and the HandleForm.php file with this in......
<?php
/* this page receives and handles the data generated by "form.html". */
print "this is your $first_name<br>\n";
?>
While it prints the "this is your " it don't pass the variable to it.... Help please to a newbie.
Regards
Codders
andyway... I have installed Apache 1.3.27 and PHP 4.2.3 and all seems to be ok. But like I said I am starting at the beginning with this.....
I have created a HTML form including the following.....
<form action="HandleForm.php" method="post">
First Name <input type=text name="first_name" size="20"><br>
and the HandleForm.php file with this in......
<?php
/* this page receives and handles the data generated by "form.html". */
print "this is your $first_name<br>\n";
?>
While it prints the "this is your " it don't pass the variable to it.... Help please to a newbie.
Regards
Codders