I've got this:
<!-- menu.php -->
<?php
$index = "index.php";
$arr_MyNavigation = array(
"home" => "home.php",
"lone" => "lone.php"
);
foreach($arr_MyNavigation as $NK => $NV)
{
print "<a href=\"".$index."?NV=$NV\">$NK</a>\n";
}
?>
<!-- index.php -->
<head>
<title>Title here!</title>
</head>
<body>
<?php
include ("menu.php")
include ($NV)
?>
</body>
The link look like this
http.//kikt.net/php/php/index.php?NV=home.php
This works so far but how do i get the ?NV=home.php to be a variable like $MV = "home.php".
Cheers!
Micke