note 27965 added to faq.html
| From: | river at rack1 dot php dot net | Date: | Fri, 27 Dec 2002 18:41:22 +0000 |
| Subject: | note 27965 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41351@lists.php.net to get a copy of this message | ||
Having defined Another Array, as in the example above, to access the element [email] directly from
the $_POST superglobal, the syntax is
$value = $_POST[AnotherArray][email];
and not
$value = $_POST[AnotherArray[email]];
as newcomers to PHP might expect. Once I worked out the correct syntax it works fine!
Hope that saves someone some time
River~~
--
http://www.php.net/manual/en/faq.html.php
http://master.php.net/manage/user-notes.php?action=edit+27965
http://master.php.net/manage/user-notes.php?action=delete+27965
http://master.php.net/manage/user-notes.php?action=reject+27965