generating nested xml from mysql

From: Date: Thu, 16 Oct 2003 07:33:49 +0000
Subject: generating nested xml from mysql
Groups: php.general 
Request: Send a blank email to php-general+get-166275@lists.php.net to get a copy of this message
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

« previous php.general (#166275) next »