hassank1 Posted May 5, 2009 Share Posted May 5, 2009 Hi.. I want to create a menu using the menu from this link : http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_horizontal_blue/ if the menu items are well known that's easy. however I want to build a menu and its submenus (could be many submenu levels..) where I get data from the database.. here's my table structure and an example of the data presentation MenuID - name - Link - ParentID 1 item1 ex0.com 0 <-- root menu 2 item2 ex1.com 0 <-- root menu 3 item3 ex2.com 1 <-- submenu of 1 4 item4 ex3.com 1 <-- submenu of 1 5 item5 ex4.com 2 <-- submenu of 2 6 item6 ex4.com 5 <-- submeny of 5 etc . . . I need help in implementing the code that will use the above method of creating menus (http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_horizontal_blue/). but with the items selected from the table. I appreciate any help.. thank you. Quote Link to comment https://forums.phpfreaks.com/topic/156913-building-a-menu-and-its-submenus-recursion/ Share on other sites More sharing options...
dietkinnie Posted May 5, 2009 Share Posted May 5, 2009 Hi There, Try reading this post. http://www.phpfreaks.com/forums/index.php/topic,240251.msg1120398.html#msg1120398 In this example i used the spry menu which comes with dream weaver Hoe this helps. //DK Quote Link to comment https://forums.phpfreaks.com/topic/156913-building-a-menu-and-its-submenus-recursion/#findComment-826614 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.