The PHP Layers Menu System will render a hierarchical DHTML menu system “on the fly” using PHP. It It is released under the LGPL (Lesser General Public License) and it supports a wide range of browsers including: Mozilla, Netscape, Safari, Opera, Internet Explorer.
You can use it for vertical and horizontal layers based menus that have behavior analogous to the familiar menus of GUI-based applications with which people are probably already familiar. In order to use the DB support you have to have PEAR DB.
If you are a PHP professionally should go and have a look at this menu system over on Source Forge.

