I'm new at PHP and am trying to get a simple form handler to work. (I do
use the PEAR classes; but, haven't done much with them yet). I have the
following simple form (form1) and handler. The field 'FName' does not
display in the handler. What have I missed?
Form:
<HTML>
<HEAD>
<TITLE>Form 1 test</TITLE>
</HEAD>
<BODY>
<FORM METHOD="POST" ACTION="form1handler.php">
First Field is:<br>
<P><INPUT TYPE="TEXT" NAME="FName" SIZE="20"></p>
<INPUT TYPE=submit>
<INPUT TYPE=reset>
</FORM>
</BODY>
</HTML>
Handler:
<HTML>
<HEAD>
<TITLE>Formhandler 1 test</TITLE>
</HEAD>
<BODY>
<?php
print("Hi <br>");
print("Field1 is: $FName");
?>
</BODY>
</HTML>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php