Re: [PHP] My first xml try

2007-11-10 Thread Andrew Ballard
On Nov 10, 2007 12:56 AM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > Andrew Ballard wrote: > Ronald, > > On Nov 9, 2007 9:05 PM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > > > I tried to use echo statements for debugging and found that it seems I > do not get the information of require(). >

Re: [PHP] My first xml try

2007-11-09 Thread Andrew Ballard
Ronald, On Nov 9, 2007 9:05 PM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > I tried to use echo statements for debugging and found that it seems I > do not get the information of require(). > > What do I need to change? I'm not sure what error you're getting, but I would guess it can't find the

[PHP] My first xml try

2007-11-09 Thread Ronald Wiplinger
I must use php 4 and mysql 4.x ! I tried an example I found on the net and modified it so that it should work with php4 and mysql 4. The code is below. I need to access a database and get an xml feed output. I tried to use echo statements for debugging and found that it seems I do not get the info

Re: [PHP] My first XML!

2002-11-27 Thread olinux
Here's a start for you $value1) { if ($key1 == $parent) {// if it's a top category print it foreach ($value1 as $key2 => $value2) { $catname = $value2; // $value2 same as $value1[$key2] $catID = $key2; echo str_rep

[PHP] My first XML!

2002-11-26 Thread Boris Kolev
Hello php-general, Hi. I want to know how i can export tree structure from Mysql table to XML mysql table structure is: ID - Group Unique Id P_ID - Parent Id Name - Name of group I want to make XML whit tree structure. Can some body help me! -- Best regards, Boris