[SMARTY] multiple nested queries?

Amanda Hemmerich <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Organization Center for Genomics and Bioinformatics
Message-ID <[email protected]>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.