menu system med includes
jeg har et menu system der loader sider i siden.. men, den looper bare når jeg prøver at kalde den i ie..nu har jeg så siddet og prøvet at finde fejlen.. uden held
nogen idéer?
<table width="710" border="3">
<tr>
<td height="20"><p>top</p></td>
</tr>
<tr>
<td height="20" valign="top">
<p align="center">
<a href='index.php'>home</a> | <a href='index.php?action=musik'>musik</a> | <a href='index.php?action=kontakt'>kontakt</a> | <a href='index.php?action=jura'>jura</a> | <a href='index.php?action=links'>links</a> | <a href='index.php?action=om'>om</a> | <a href='index.php?action=login'>login</a>
</p></td>
</tr>
<tr>
<td width="710" height="400" valign="top">
<p>
<?php
if (isset($_GET['action'])) $PAGE = $_GET['action'];
else $PAGE = 'home';
switch ($PAGE) {
//1- index
case 'home':
include ('index.php');
break;
//2- musik
case 'musik':
include ('musik.php');
break;
//3- kontakt
case 'kontakt':
include ('kontakt.php');
break;
//4- jura
case 'jura':
include ('jura.php');
break;
//5- links
case 'links':
include ('links.php');
break;
//6- om
case 'om':
include ('om.php');
break;
//7- login
case 'login':
include ('login.php');
break;
default:
echo '<p align=center>fejl 404! denne side eksisterer ikke</p>';
break;
}
?>
</p>
</td>
</tr>
</table>