note 24376 added to language.variables.predefined
| From: | pschulten at NOSPMweb dot de | Date: | Wed, 14 Aug 2002 17:30:47 +0000 |
| Subject: | note 24376 added to language.variables.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35014@lists.php.net to get a copy of this message | ||
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']
--
http://www.php.net/manual/en/language.variables.predefined.php
http://master.php.net/manage/user-notes.php?action=edit+24376
http://master.php.net/manage/user-notes.php?action=delete+24376
http://master.php.net/manage/user-notes.php?action=reject+24376