Need help to make tree view
Posted: Mon Mar 23, 2009 4:25 am
Hi All,
I have one table tbl_content with content_id, content, menu_id columns and another table tbl_menu with menu_id, menu_name, level. Here content_id and menu_id are primary key for both table.
[NB. menu has three lebel like main menu, sub menu and child menu].
Now i want to make the tree view like below:
Main menu
-- Sub menu
--- Child menu
---- Content
Main menu
-- Sub menu
--- Child menu
---- Content
Please give me some idea to make the tree view.
--
Thanx
I have one table tbl_content with content_id, content, menu_id columns and another table tbl_menu with menu_id, menu_name, level. Here content_id and menu_id are primary key for both table.
[NB. menu has three lebel like main menu, sub menu and child menu].
Now i want to make the tree view like below:
Main menu
-- Sub menu
--- Child menu
---- Content
Main menu
-- Sub menu
--- Child menu
---- Content
Please give me some idea to make the tree view.
--
Thanx