ID: 16887 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Debian 2.2 PHP Version: 4.2.0 New Comment:
The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: ------------------------------------------------------------------------ [2002-04-28 13:26:56] [EMAIL PROTECTED] I have just recently installed Apache 1.3.24 and PHP 4.2.0 on a Debian 2.2 system. I had an identical installation beforehand, and it worked fine. I wish to use HTML forms to submit data for entry into a MySQL database. PHP won't inherit the values from forms, and displays them as NULL or of blank value. For instance, I created two files named test.htm and test.php. Test.htm looked like this: <head> <title>Test</title> </head> <body> <form method="get" action="test.php"> <input type="text" value="" name="textfield"> <input type="submit" value="Submit"> </form> </body> </html> And test.php looked like this: <? echo "The value of textfield is: " . $textfield ?> I would expect that since test.php is the action of the form, then $textfield would echo the value that the user entered in the text box. Instead, I get the following output: The value of textfield is: I'm not sure if this is a problem with PHP or Apache. Any help that can be offered would be greatly appreciated. Thanks! Ben Willett P.S. The files mentioned in this report can be found at http://www.bz0ne.net/test . ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16887&edit=1