USING HTML_menu not with static data but with data from a database ?

From: Date: Fri, 07 May 2004 12:49:12 +0000
Subject: USING HTML_menu not with static data but with data from a database ?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12343@lists.php.net to get a copy of this message
Hi, I have been searching to create a menu like this for many weeks. Example 27-4. Output for menu type 'urhere'Menu item 1 >> Menu item 1.2 I had posted in some forums. And people told me about PEAR. I already had familiarized myself with the nested set structure. I discovered the NestedSet Class and the HTML_Menu Class in PEAR. http://pear.php.net/manual/en/package.html.html-menu.intro.php How can I use the nested set and the html_menu classes together if I want to keep the structure of the menu in a database. I already have a nested set table in my database. id | id_node | id_root | left | right | name 1 1 1 8 1 Home 2 1 2 3 1 News 3 1 4 1 7 Company 4 1 5 6 6 About 5 1 7 8 7 Gallery 6 1 9 10 8 Philosohy etc ... Thx you very much.

« previous php.pear.general (#12343) next »