Re: [PHP] merging arrays quickly

2001-08-17 Thread Michael
Reuben D Budiardja wrote: > > Take a look at the function array_merge > http://www.php.net/array_merge > > Reuben D. B > I have - it's no use unfortuntely - The array with the values has numeric keys so they just get appended - would have been okay if they had string keys though. > On Frida

Re: [PHP] merging arrays quickly

2001-08-17 Thread Reuben D Budiardja
Take a look at the function array_merge http://www.php.net/array_merge Reuben D. B On Friday 17 August 2001 08:46 am, you wrote: > say I have > $array1 = array("name"=>NULL,"thread"=>NULL,"id"=>NULL); > $array2 = array("0"=>"fred","1"=>"3","2"=>""); > > I want $array1 to have the values of a