Re: combining 2 arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/16/07, Greg Donald <greg@xxxxxxxxxxxxxxxxxxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux