I need some help with 3 level menu.
I have a mysql table with 3 columns id,name,parent with the data
1,Cat1,0
2,child1,1
3,child2,1
4,Cat2,0
5,child1,4
6,child2,4
7,subchild1,2
8,subchild2,2
9,Cat3,0
I need to display menu like this
Cat1 | Cat2 | Cat3
When user clicks on Cat1 then you see children
child1 | child2
when user click on child1 then you see sub children
subchild1 | subchild2
Some times category's have no children like Cat3 then I have to show content of that page but stay on parent menu, same is for children
Does anybody have experience with this kind of menu
Thanks