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;");
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");?>
}
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.