note 29326 added to language.variables.predefined
| From: | Andrew at rack1 dot php dot net | Date: | Mon, 10 Feb 2003 02:27:31 +0000 |
| Subject: | note 29326 added to language.variables.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43715@lists.php.net to get a copy of this message | ||
In case you're new, and want to convert a variable you already have set in a lot of places of
your script, but have an array coming in from a form, use:
$vari = $_POST[vari];
Being new myself I'm used to putting the variable in quote marks, but the array won't be
carreid over doing that.
--
http://www.php.net/manual/en/language.variables.predefined.php
http://master.php.net/manage/user-notes.php?action=edit+29326
http://master.php.net/manage/user-notes.php?action=delete+29326
http://master.php.net/manage/user-notes.php?action=reject+29326