Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:31

more than one navbar php-mysql driven at the same page


Poster: thomass
Dated: Wednesday August 8 2007 - 14:05:49 BST

I want to put three navbars php-mysql driven at the same page.

This:

Code:
<?php

   include("mm_config_topR.php");  // This file contains all of the user editable parameters
   include("mm_phpmenu_topR.php"); // This is the file containing all of the PHP functions

   buildMySQLMenu(1); // This line builds the menu from MySQL data tables.
?>

<?php

   include("mm_config.php");  // This file contains all of the user editable parameters
   include("mm_phpmenu.php"); // This is the file containing all of the PHP functions

   buildMySQLMenu(1); // This line builds the menu from MySQL data tables.

?>


won't work.

Only one will appear, the other has an error-message:
Fatal error: Cannot redeclare class mmenustyle in mm_phpmenu.php on line 16.

Does anyone know how to fix that?

Thx, Thomas


Poster: Ruth
Dated: Wednesday August 8 2007 - 18:46:33 BST

Hi,

I have posted this to Milonic. I do not do php, but if you know how to do it, would you maybe have to make those two <? you have into only one, then there would be only one call for that file giving the error?

I really don't know it's only a suggestion.

Ruth