Re: combining 2 arrays

From: Date: Tue, 16 Oct 2007 18:32:51 +0000
Subject: Re: combining 2 arrays
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263245@lists.php.net to get a copy of this message
On 10/16/07, Greg Donald <greg@cyberfusionconsulting.com> wrote: > > On Tue, 16 Oct 2007, Paul Scott wrote: > > You could try something like: > > > > $result[] = $arrayDB1; > > $result[] .= $arrayDB2; > > That .= doesn't do what you think it does when used with arrays. Take this same concept (of creating a new array) and see if you can use array_merge. I know you mentioned earlier that it wasn't what you were looking for... however, maybe the combination will work??? Good luck, ~Philip

« previous php.general (#263245) next »