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

[PHP] Re: References and array indexes

2004-08-05 Thread Ace
rke > Hi ! As you passed $a in reference while defining $v, the '3' index of $a was defined. Furthermore, you didn't at any time affect a value to that '3' index of $a, but it exists because he was invocated once... So the result of your print_r isn't odd ;)

[PHP] Re: XML validation with XML Schema

2004-08-05 Thread Ace
use an external validator called XSV. It's the official W3C validator, i guess... http://www.ltg.ed.ac.uk/~ht/xsv-status.html You'll just have to develop a little script to access it. This validator is quite useful, because he sends you back an xml log for each validation. That log

[PHP] Journal.php

2001-07-11 Thread Joe Ace
gured that would be pretty much the same thing. I get no errors, however no file is made. What am I doing wrong? -- -Joe Ace http://www.dbzlegends.net";>Webmaster of Otaku Empire and http://rpg.dbzlegends.net";>Dragonball Z Legends RPG -- PHP General Mailing List (http://www.php