Hello,

On 10/16/2003 05:33 AM, [EMAIL PROTECTED] wrote:
Hi there i am having a problem generating nested xml from mysql

My class is ok with one loop. But there is a problem when i want to do a
query and within that loop result do another query. More specifically i
want my xml to look like this.

<menu>
    <top_menu>
        <title></title>
        <sub_menu>
           <title></title>
        </sub_menu>
    </top_menu>
</menu>

where top menu gets the first loop and sub menu is the second query within
the first query.

Let me know thanks

And what is your difficulty in generating nested XML?


Have you tried this class?

http://www.phpclasses.org/xmlwriter


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to