Re: Form Handler

From: Date: Thu, 03 Oct 2002 21:07:16 +0000
Subject: Re: Form Handler
Groups: php.db 
Request: Send a blank email to php-db+get-22208@lists.php.net to get a copy of this message
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: | | jd@keane.com | | [ Mailing: 10 Presidents Landing | | Medford, MA 02155 USA ] | |-------------------------------------| "Gil Merkle" <gmerkle@tlu.edu> To: php-db@lists.php.net 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

« previous php.db (#22208) next »