Einzelnen Beitrag anzeigen
Alt 02.10.2006, 19:07   #11
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

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)
jak ist offline   Mit Zitat antworten