note 15434 added to faq.html
| From: | aderuwe at pandora dot be | Date: | Mon, 10 Sep 2001 16:25:27 +0000 |
| Subject: | note 15434 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17880@lists.php.net to get a copy of this message | ||
To make the previous comment a little more clear, what you actually do when you use indices to an
array in HTML is create an associative array.
Thus:<br>
<input type="text" name="MyArray[cust_name]">
<input type="text" name="MyArray[cust_addr]"><br>
is the same as the following in PHP:
$MyArray = array('cust_name' => 'some name', 'cust_addr' =>
'some address');
http://www.php.net/manual/en/faq.html.php