Re: [PHP] Dynamic array_merge problem

2006-04-12 Thread Ace McKool
This worked wonderfully--thank you very much Jochem! On 4/12/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Ace McKool wrote: > > Hi, > > > > This is the end result I'm trying to get: > > > > $z1 = array_merge($z[0], $z[1], $z[2]); >

[PHP] Dynamic array_merge problem

2006-04-12 Thread Ace McKool
Hi, This is the end result I'm trying to get: $z1 = array_merge($z[0], $z[1], $z[2]); But what if I don't know how many elements are in $z? I tried this (but it breaks if there are more than 2 elements in $z): for ($i=0; $i

[PHP] Re: DOM namespace prefix troubles

2005-11-02 Thread Ace McKool
Thanks Rob! That solved my probem. Thanks again! On 11/2/05, Rob <[EMAIL PROTECTED]> wrote: > > Ace McKool wrote: > > > What I'm trying to create is something like the following: > > > > > > > > > > I am unable to create the "&quo

[PHP] DOM namespace prefix troubles

2005-11-02 Thread Ace McKool
Howdy folks, I'm using PHP 5.0.5 with the DOM enabled and I'm trying to create an XML doc with PHP. The problem I'm having is attaching a namespace prefix to a tag. What I'm trying to create is something like the following: I am unable to create the "" element with the "cac:" namespace p