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

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

Reply via email to