includer ikke menu.php og giver ikke fejl
jeg har min index.php, hvor jeg includer en masse..<?php
include("templates/lang.php");
include("templates/top.php");
include("templates/banner.php");
include("templates/main_start.php");
include("templates/menu.php");
include("templates/main_middle.php");
echo "main";
include("templates/main_end.php");
include("templates/bottom.php");
?>
alle pånær menu.php bliver includet.. hvis jeg i menu.php kun skrive f.eks. "menu", virker det fint..
menu.php:
<table align='center'>
<tr>
<td>
<a href='index.php'>Forside</a>
</td>
</tr>
<?php
if($_SESSION["id"]){
echo "<tr>";
echo "<td>";
echo "<a href='logout.php'>Log ud</a>";
echo "</td>";
echo "</tr>"
}else{
echo "<tr>";
echo "<td>";
echo "<a href='login.php'>Login</a>";
echo "</td>";
echo "</tr>";
}
?>
</table>
jeg har samme problem med nogle includes på andre sider, men regner med, der er det samme problem..
