DHTML Menu FrontPage Add-in FAQ

Question ID:
Q3041
Question:
I'm using the menu on a server-side (e.g. PHP/ASP) page. How can I include server-side code in menu item links/names?
 
The simplest solution is to include PHP or other server-side code in the 'item text' or 'destination URL' fields, e.g. Text <?php echo $abc; ?>. In order for this to work, you will also need to change the option in options / output / create a separate file for JavaScript code -- set this option value to NO. Otherwise, the menu items will be included in an external .inc file not processed by the PHP engine.