note 29614 added to language.variables.external

From: Date: Wed, 19 Feb 2003 08:26:11 +0000
Subject: note 29614 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-44191@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 -- http://www.php.net/manual/en/language.variables.external.php http://master.php.net/manage/user-notes.php?action=edit+29614 http://master.php.net/manage/user-notes.php?action=delete+29614 http://master.php.net/manage/user-notes.php?action=reject+29614

« previous php.notes (#44191) next »