register_globals=off in your php.ini
turn it on, or use $_POST['FName'] |-------------------------------------| | Jeff | KeaneIT - Presidents Landing | | | Suite: 200 | | Outside: 617 -517-1772 | E-mail: | | [EMAIL PROTECTED] | | [ Mailing: 10 Presidents Landing | | Medford, MA 02155 USA ] | |-------------------------------------| "Gil Merkle" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: 10/03/2002 04:18 Subject: [PHP-DB] Form Handler PM 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php