Associative Menu

Hi,

I need some help in my menu how can i navigate to other page using this associative array,please help me i am confuse.


 <?php
     $myMenu = array("home"      =>    "home.php",
                        "gallery"    =>     "Gallery.php",
                        "contact"  =>     "Contact.php".
                        "about"     =>     "About.php");

?>

in my html tag
....
...
   <body>
         <a href="index.php?page=home>Home</a>
         <a href="index.php?page=gallery>Gallery</a>
         <a href="index.php?page=contact>Contact</a>
         <a href="index.php?page=home>About</a>


  </body>



<body>
<?php
foreach($myMenu as $menuKey => $menuItem){
echo ‘<a href="’.$menuItem.‘">’.$menuKey.‘</a>’;
}
?>
<body>

Hi,Thank you for this okay i will try this one…

[QUOTE=itmitică;5129571]<body>
<?php
foreach($myMenu as $menuKey => $menuItem){
echo ‘<a href="’.$menuItem.‘">’.$menuKey.‘</a>’;
}
?>
<body>[/QUOTE]

Hi, sorry for the late reply…i have question on your solution,how can i display in the url like this

index.php?page=home

This is what i want to achieve…I hope you can help me.Thank you in advance.