POSTing Form Vars as Array ??
| From: | Monty | Date: | Fri, 26 Jul 2002 05:36:35 +0000 |
| Subject: | POSTing Form Vars as Array ?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109677@lists.php.net to get a copy of this message | ||
Is it possible to pass variables from a form as an array to another PHP
file? For example, I have this:
<input type="text" name="db['email']" value="<? echo
$db['email']; ?>">
When the form re-loads after being submitted (it calls itself when SUBMIT is
pressed), the var $db['email'] doesn't exist anymore.
Is it only possible to POST variables to a page if they are not in an array?
Thanks!
Monty