multiple nested queries?

From: Date: Mon, 08 Aug 2005 19:24:34 +0000
Subject: multiple nested queries?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12925@lists.php.net to get a copy of this message
Hello! I'm pretty new to PHP and Smarty. I am trying to build a dynamic navigation bar using mysql, PHP, and smarty. I need to get the name and id of each menu item and then for each item, query a different table and get the sub-items associated with them. My normal way of using queries is to query the database and loop through the result with a smarty section and display the results. Is there a way I can loop through the results and build another query and then loop through THOSE results, too? Thanks, Amanda

« previous php.smarty.general (#12925) next »