27.03.2004, 01:15
Hallo und guten Morgen, udog!
Auch mit PHP ist dies möglich. Ein Beispiel:

Gruß Hulot
Auch mit PHP ist dies möglich. Ein Beispiel:
Zitat:<html>Die Navigationsdatei navi_inc.php könnte dann beispielsweise so aussehen:
<head>
<title>PHP-Include</title>
<?php
require ("navi_inc.php");
?>
</head>
<body>
<table width="100%" border="0">
<tr>
<td width="20%">
<?php
print <<< MENU
$menu
MENU;
?>
<?php echo $copyright; ?>
</td>
<td width="80%">
</td>
</tr>
</table
</body>
</html>
Zitat:<?phpAlles in allem die vielleicht einfachere Variante, aber das kannst Du selbst entscheiden.
/* Navigationsmenü wird eingebettet */
$menu = <<< MENU
Inhalt/Navigation
Willkommen
Unser Team
Öffnungszeiten
Gebühren
Elternbeirat
Träger
Satzung
Impressum
MENU;
/* Copyright-Informationen */
$copyright = "copyright © 2004 by Autor";
?>

Gruß Hulot