[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'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php