note 27965 deleted from faq.html by betz
| From: | betz@php.net | Date: | Sun, 25 Apr 2004 15:48:37 +0000 |
| Subject: | note 27965 deleted from faq.html by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68776@lists.php.net to get a copy of this message | ||
Note Submitter: river att clacks dot org
----
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~~