Here is an easy way to create a dynamic php menu.
Use include!

$navigation = array ("home"=>"/index.php",
"php download"=>"/down.php",
"image viewer"=>"/Selent/arte.php",
"php upload"=>"/upload/index.php",
"guestbook"=>"/Gbook/jonboard.php",
"recommend selentia.de"=>"/Test/recommend.php");
while(list($key, $val) = each($navigation)){
if ($PHP_SELF == $val){
echo "$key
";
} else {
echo "$key
";
}
}

home
php download
php upload
image viewer
guestbook
recommend selentia.de