Hello,
I try to use php, but I have problem with forms.
I have a file named test.php like that:
<FORM ACTION="test.ph p" METHOD="POST">
type your name, then submit :
<INPUT TYPE=text NAME=name>
<INPUT TYPE=submit VALUE="Submit">
</FORM>
<P>
your name is
<?php
echo "$name";
?>
And I have this error:
Notice: Undefined variable: name in c:\program
files\easyphp1-8\www\epc\test. php on line 9
What's wrong
Thank you.
Antoine
I try to use php, but I have problem with forms.
I have a file named test.php like that:
<FORM ACTION="test.ph p" METHOD="POST">
type your name, then submit :
<INPUT TYPE=text NAME=name>
<INPUT TYPE=submit VALUE="Submit">
</FORM>
<P>
your name is
<?php
echo "$name";
?>
And I have this error:
Notice: Undefined variable: name in c:\program
files\easyphp1-8\www\epc\test. php on line 9
What's wrong
Thank you.
Antoine
Comment