RE: [PHP] PHP Basic's Problem with a simple script.

From: Date: Tue, 01 Jun 2004 15:34:21 +0000
Subject: RE: [PHP] PHP Basic's Problem with a simple script.
Groups: php.general 
Request: Send a blank email to php-general+get-187353@lists.php.net to get a copy of this message
[snip] <html> <head> <?php if ($dispatched) { echo "You have entered the following"; echo " Name: $vn $nn<p>"; } ?> </head> <body> Please enter a Name and send the form: <form action = "ud12.php" method = "post"> <input name = "nn"> 2nd Name<p> <input name = "vn"> 1st Name<p> <input type = "submit" name = "dispatched"> <input type = "reset"> </form> </body> </html> [/snip] put "post" in all caps "POST". try changing $vn to $_POST['vn']

« previous php.general (#187353) next »