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

import menu data from mysql database !!!


Poster: knackwurst
Dated: Friday April 1 2005 - 16:00:08 BST

:?: I tryed everything. menu_data is allready with php ending but it still doesn't work and the php code gives out
Code:
aI("text=Das TMG;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_tmg;target=inhalt;");
aI("text=Verwaltung;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_verwaltung;target=inhalt;");
aI("text=Lehrkräfte;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_lehrer;target=inhalt;");
aI("text=SV;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_sv;target=inhalt;");
aI("text=Schülervertretung;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_schülervertretung;target=inhalt;");
aI("text=Förderverein;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_foerderverein;target=inhalt;");
aI("text=Ehemalige;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_ehemalige;target=inhalt;");
aI("text=Schulprogramm;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_programm;target=inhalt;");
aI("text=Presse;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_presse;target=inhalt;");
aI("text=Archiv;url=www.tmg.oelde.com/tmg_2005/01home/index.php?rubric=home_archiv;target=inhalt;");


what is wrong with my program ? am i even able to use php for importing my menu data?
thx
Tobias N.

P.S.:
i use it like this
Code:
with(milonic=new menuname("home")){
margin=3;
style=vertStyle;
top="offset=2";
<?php include("../test.php");?>
}


Poster: John
Dated: Monday April 4 2005 - 19:06:01 BST

A search on 'database' will find many topics for you. The Milonic home site is all PHP/mySQL.

A good starting point might be here.


Poster: Andy
Dated: Wednesday April 6 2005 - 10:31:35 BST

Hi,

What is the output from ../test.php ?

If this contains anything other than pure JavaScript it may cause an error.

-- Andy