Link to home
Start Free TrialLog in
Avatar of swiftguy
swiftguy

asked on

Dynamic menu creation using php/mysql

Hello Experts,

We are developing an php/mysql application where in we are planning a menu as seen in the following website( http://www.xtrememac.com/ ).The menu options should come from the database(mysql), so basically its dynamically generated menu.. can anybody point me to any good tutorial(creating dynamically generated menu[2,3 level menus] using php/mysql]).Googled a lot but could'nt find a good howto/tutorial for this job Sad

plz help me out.

Regards,
Swiftguy.
ASKER CERTIFIED SOLUTION
Avatar of maUru
maUru

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of x2dml02
x2dml02

You could also try coolmenus

http://www.dhtmlcentral.com/projects/coolmenus/

In the download there is an example for using php. From what I can gather it is no longer being developed but it still works with all browsers I have tried it in and is very customable.

I made a small php script to autamatticly generate it from the records in the database (dynamic).

Worth looking at.

Kevin.
Avatar of swiftguy

ASKER

Sorry for this late reply(i was out of town).

Thx Mauru and x2dml02 for responding to my query.

Im trying Maurus' solution,Mauru thx again for taking pains in providing with the code, i will get back to u once i run your code.

Maurus' step by step helped in creating my own custom code to retrieve menu items from DB using php.

x2dml02 assisted in solving the prob, his tip of using coolmenus did help me in zeroing on the perfect menu.BTW 'coolmenu' is not providing php integration example in its documentation,had to add my own custom php code snippet to get the things going!!!