Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13
MYSQL to populate Menu + Onclick pass item name to PHP
Poster: ibexcentral
Dated: Thursday December 18 2008 - 12:56:57 GMT
Hi,
Two questions:
1. Is it possible to populate a menu including many levels from MYSQL if so has anyone an example of the code.
2. Is it possible, onclick, to pass the menu item name via a variable, to a php page for example:
USer clicks on a menu item called 'Videos' some code needs to pass 'Videos' via a variable called $menuitem to demopage.php as follows:
demopage.php?selection=$menuitem
If this is possible is there an example?
Would really apprecaite a reply....
Cheers
Re: MYSQL to populate Menu + Onclick pass item name to PHP
Poster: Andy
Dated: Monday December 22 2008 - 11:00:32 GMT
Hi,
Please see the menu download inside the extras folder there is a MySQL menu sample.
The only way to get the menu to direct to demopage.php?selection=Videos is to actually tell the menu when you build it. There is a PHP based menu that you can use for this also inside the extras folder in the menu download
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
