note 24228 deleted from tutorial.forms by maxim

From: Date: Sat, 10 Aug 2002 02:28:32 +0000
Subject: note 24228 deleted from tutorial.forms by maxim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34645@lists.php.net to get a copy of this message
And if you want to combine the form and the results in one page, you do something like: <form method="POST"> Your name: <input type="text" name="name" /> Your age: <input type="text" name="age" /> <input name="go" value="go" type="submit" /> </form> <?php if ($_POST["go"]) { ?> Hi <?php echo $_POST["name"]; ?>. You are <?php echo $_POST["age"]; ?> years old. <?php } ?>

« previous php.notes (#34645) next »