Bei mir funktioniert es so:
Code:
foreach($menue as $key => $val){
if ($key == $_GET['geladene_seite']) {
//aktuelle Seite, kein Link
echo $val['title']."
\n";
} else {
//Link
echo ''.$val['title'].''."
\n";
//andere Methode:
echo ''.$val['title'].''."
\n";
}
}
//irgendwann nachher das include:
include($menue[$_GET['geladene_seite']]['file']);
jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)