Re: Array question
| From: | Jackson Miller | Date: | Sat, 27 Sep 2003 16:28:05 +0000 |
| Subject: | Re: Array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164097@lists.php.net to get a copy of this message | ||
On Saturday 27 September 2003 11:18, Robin Kopetzky wrote:
> Good morning all!!
>
> Can you nest an array within an array??
>
> Example: $paArgs['aCheckBoxes[$iIndex]['sName']']
Yes, but like this
$array['aCheckBoxes'][] = $iIndex['sName']
This means:
$array is an array
aCheckBoxes is a item in $array
aCheckBoxes is also an array
$iIndex is an item in the aCheckBoxes array
$iIndex is an array.
Hope this helps.
-Jackson
>
> Thank you in advance.
>
> Robin 'Sparky' Kopetzky
> Black Mesa Computers/Internet Service
> Grants, NM 87020
--
jackson miller
cold feet creative
615.321.3300 / 800.595.4401
jackson@coldfeetcreative.com
cold feet presents Emma
the world's easiest email marketing
Learn more @ http://www.myemma.com