note 29614 deleted from language.variables.external by rioter
| From: | rioter@php.net | Date: | Wed, 19 Feb 2003 08:49:44 +0000 |
| Subject: | note 29614 deleted from language.variables.external by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44192@lists.php.net to get a copy of this message | ||
If you have a form in a file that calls a different file at submission, the variables from the form
are known by the other php file without having to put them in the url.
example:
file toto.php contains:
<form action="foo.php" method="post">
Name: <input type="text" name="name"><br>
<input type="submit">
</form>
Then after submission you can use the variable $name, defined in the toto.php's form, in
foo.php, you don't need to use "foo.php?name=$name"
Hope it can save some time to somebody!
Ronan