note 24376 deleted from language.variables.predefined by danbrown
| From: | danbrown@php.net | Date: | Thu, 08 Apr 2010 19:24:54 +0000 |
| Subject: | note 24376 deleted from language.variables.predefined by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168042@lists.php.net to get a copy of this message | ||
Note Submitter: pschulten at NOSPMweb dot de
----
In addition to slandau@miticom.com (14-Jan-2002 08:03).
You definetly restored my sanity, thanks.
If you post multiple textfields with the same name, you can also give them indices e.g.:
<input type='Text' name='some_date[year]' value='2002'>
<input type='Text' name='some_date[month]' value='08'>
<input type='Text' name='some_date[day]' value='02'>
and access them thru:
$_POST['some_date']['year']
$_POST['some_date']['month']
$_POST['some_date']['day']