Search found 1 match

by jsmith
Thu Oct 21, 2004 1:57 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Variable depth dynamic menu
Replies: 1
Views: 1844

Variable depth dynamic menu

I have a database table that stores menu items in a parent child relationship. Here's the schema:

menu_id int(11)
menu_name varchar(50)
parent_id int(11)

Here is some possible data

Menu id Name Parent id
1 Yahoo 0
2 Yahoo Sports 1


So anything with a parent_id of 0, would be at the main menu ...