Hello, it's me again, I'm stumped.
I have a database table that contains catagories for items. The fields in the table are catagoryid, parentid, and description. I want to make a menu that works like the following
Main menu:
Parent 1
Parent 2
Parent 3
Lets say someone clicks on Parent 1, then I want it to look like
Parent 1
- Child 1
-- A child within a child and so on
- Child 2
- Child 3
Parent 2
Parent 3
I can't for the life of me figure out what the code logic is going to be.