> 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). Sorry, forgot to mention that said Tree object can create a tree structure from a flat MySQL result set using the familiar, id/parent_id, structure: -- 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