I'm busy with a dynamic menu system for this site i'm working on. Basically they want complete control over what each user sees on their menu. Now my question is is there a better way to do menus, sub menus, sub sub menus, and so on.

Basically what i did with the old menu was to assign the top menu subjects a number, and then the sub menus would link to that number, and so on with each sub menu. I'm just wondering if theres a better method to go about this. BTW working with php5.05, mysql4.1 on a winxp system. Thanks in advance.