I've got this menu array for a website with multiple levels... not just 2 deep, it could be 3 or 4 deep.
Here's the array I created from my database... but perhaps it should be more of multiple array??
How to get this to show each sublevel properly?
Array's in CAPS are those with sublevels...
Array
(
[Home] => Array
(
[0] => 1
[1] => Home
[2] => No subpages
)
[ABOUT] => Array
(
[0] => 12
[1] => About
[2] => 1
)
[technology] => Array
(
[0] => 16
[1] => technology
[2] => No subpages
)
[PORTFOLIO] => Array
(
[0] => 13
[1] => Portfolio
[2] => 1
)
[Portfolio All] => Array
(
[0] => 18
[1] => Portfolio All
[2] => No subpages
)
[PRODUCTS] => Array
(
[0] => 14
[1] => Products
[2] => 6
)
[evolved website] => Array
(
[0] => 24
[1] => evolved website
[2] => No subpages
)
[visitor stats 2] => Array
(
[0] => 19
[1] => visitor stats 2
[2] => No subpages
)
[photo gallery] => Array
(
[0] => 20
[1] => photo gallery
[2] => No subpages
)
[ecommerce] => Array
(
[0] => 25
[1] => ecommerce
[2] => No subpages
)
[enewsletters] => Array
(
[0] => 26
[1] => enewsletters
[2] => No subpages
)
[links / media] => Array
(
[0] => 30
[1] => links / media
[2] => No subpages
)
[Services] => Array
(
[0] => 15
[1] => Services
[2] => No subpages
)
[CONTACT] => Array
(
[0] => 3
[1] => Contact
[2] => 3
)
[mailing list] => Array
(
[0] => 21
[1] => mailing list
[2] => No subpages
)
[privacy policy] => Array
(
[0] => 22
[1] => privacy policy
[2] => No subpages
)
[links] => Array
(
[0] => 23
[1] => links
[2] => No subpages
)
)
Thanks for any guidance on this.