> I am trying to use a prepared MySQL statement after retrieving the > results from a previous query (it's for a multi-level menu). The first > query works fine, but the second query does not. Use a tree structure (I assume it's a tree type menu that has already been written and save yourself the hassle. The PEAR HTML_TreeMenu code can Create a tree structure from a Tree object (my own tree class at phpguru.org). -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php