PHP-Code:
	
	
<html>gedöns
<head>
<body>
<table>
<tr><td>
<a href="index.php?content=menu1">punkt1</a><br>
<a href="index.php?content=menu2">punkt2</a><br>
<td>
</tr>
<td>
<?php
switch($_GET[content]) 
{
case "menu1"         : include("menu1.inc.php");break;
case "menu2"        : include("menu2.inc.php");break;
default                   : include ("default.inc.php");
}
?>
</td>
</tr>
</table>
Apache /PHP 4.2.1
vorher lief das script
was stimmt da nicht mit $_GET[content] ?
Fehlermeldung "undefined index : content
mit $_GET['content'] funzt es auch nicht
							
						
          
							
						
							
						
 Dazu in der php.ini error_reporting auf E_ALL &~ E_NOTICE stellen.
							
						
							
						
							
						
Kommentar