php and forms

From: Date: Thu, 20 Mar 2003 20:19:07 +0000
Subject: php and forms
Groups: php.install 
Request: Send a blank email to php-install+get-10371@lists.php.net to get a copy of this message
Hi, This could be a silly mistake or it could be a sign of configuratin problems. Simply put, my submitted form variables are not reaching the recieving end: A form: <form method=post action="testForm.php"> <input type="text" name="testVar"> <input type="submit" name="submit" value="submit"> </form> A recieving file testForm.php: <html> <body> <?php printf("<br>testVar is : %s", $testVar); ?> </body> </html> When entering value like testtest in the form element I still get the following in the recieving file: testVar is : i.e. the form variable is not submitted or not recieved. I also tried doing it through the url .../testForm.php?testVar=whatever and still the testVar is empty. Is there a configuration problem I should be aware of as clearly it is not a code issue? Thanks, b. __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com

« previous php.install (#10371) next »