Re: Dynamic array_merge problem

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

 



This worked wonderfully--thank you very much Jochem!

On 4/12/06, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:
>
> Ace McKool wrote:
> > Hi,
> >
> > This is the end result I'm trying to get:
> >
> > $z1 = array_merge($z[0], $z[1], $z[2]);
>
> $yourArrays = array($z[0], $z[1], $z[2]);
> $z1 = call_user_func_array('array_merge', $yourArrays);
>
> obviously - you have to build $yourArray before passing it
> to call_user_func_array()
>

[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