Re: Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels
| From: | Volmar Machado | Date: | Thu, 16 Aug 2012 19:50:18 +0000 |
| Subject: | Re: Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318725@lists.php.net to get a copy of this message | ||
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