Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:07

simple php_mysql_based_menu


Poster: drgoettel
Dated: Thursday February 19 2009 - 14:35:13 GMT

Hello,
I'm using a Plain Text Horizontal Style DHTML Menu Bar. Using extras folder, I have managed to build the menu from mysql database. Basically I modify "mm_menus" table in order to build the main menu (first level):

Full Texts menuid projectid styleid name alwaysvisible orientation overflow
1 1 1 item1 1 1 NULL
2 1 1 item2 NULL NULL NULL
3 1 1 item3 NULL NULL NULL
4 1 1 item4 NULL NULL NULL
5 1 1 item5 NULL NULL NULL
6 1 1 item6 NULL NULL NULL
7 1 1 item7 NULL NULL
8 1 1 item8 NULL NULL NULL
9 1 1 item9 NULL NULL NULL

Getting a first level menu with this items:
item1 item2 item3 item4 item5 item6 item7 item8 item9

Then I modify "mm_items" table in database in order to build the second level: for example, if I want a "son" of item2 I insert in mm_items something like this:
itemid menuid text url showmenu
10 2 item10 http://www.milonic.com NULL

It works great!! now item10 is a son of item2.

The problem is if I want a son for item10. I do what it's supossed to be the correct having this structure in mind. I create an entry into the database like this:
itemid menuid text url showmenu
11 10 item11 http://www.milonic.com item11

But this level doesn't come up!!
Anybody knows why I can't add a third level?
Any help would be really appreciated.

Best regards,
Andrés

Re: simple php_mysql_based_menu


Poster: Andy
Dated: Saturday February 21 2009 - 9:23:04 GMT

Hi,

Send over a data dump (with item 10 added) and I'll take a look.

-- Andy