I have develop a solution in a one function as in the example, which permit you to have n-level menu array, if you want you can change the returns by a echo to, if you want the ouput in html. http://pastebin.com/QJUsxPBw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php