add item to end of (multidimensional) array

From: Date: Fri, 15 Oct 2004 12:34:36 +0000
Subject: add item to end of (multidimensional) array
Groups: php.general 
Request: Send a blank email to php-general+get-199582@lists.php.net to get a copy of this message
Hi, How can i add new items to an array without using an index. Normally (single dimension) you can do: Arr[]="xxxxx" and this item is added to the array, but what if i have subitems like: Arr[]['name']="arnold"; Arr[]['address']="street". This last example doesnt work and i think there will be an easy solution but who can tell me this? Arnold

« previous php.general (#199582) next »