scara
22-05-2003, 17:53
hallo
ich habe eben zum ersten mal die include funktion getestet und es funzt nicht :(
habe eine datei indtest.html
<html>
<head>
meta infos style etc ...
</head>
<body bgcolor="silver" text="#000000">
<?php include("nav.html"); ?>
weiter html code
</body
</html>
nav.html
<table border="0" width="100%" CELLSPACING="1" CELLPADDING="1">
<tr>
<td bgcolor="orange" align="center">
<h4>Projekte</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/termine.html"><h4>Termine</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/studium.html"><h4>Studium</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/ausbildung.html"><h4>Ausbildung</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/buecher.html"><h4>Bücher</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/links.html"><h4>Links</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="http://ibiza.kerneln.de/pflege/board/wbboard/main.php"><h4>Forum</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="http://ibiza.kerneln.de/pflege/gb/burningbook/index.php"><h4>Gästebuch</a></h4>
</td>
<td bgcolor="orange" align="center">
<h4>Chat</a></h4>
</td>
<td bgcolor="orange" align="center">
<h4>Shop</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/impressum.html"><h4>Impressum</a></h4>
</td>
</tr>
</table>
also vom prinzip her müsste die nav.html die navigatin darstellen - und der rest eben immer die normale seite sein...
problem: die seite wird dargestellt, allerdingst wird die nav.html nicht eingefügt also keine navigation da :)
wo liegt der fehler?
ich habe eben zum ersten mal die include funktion getestet und es funzt nicht :(
habe eine datei indtest.html
<html>
<head>
meta infos style etc ...
</head>
<body bgcolor="silver" text="#000000">
<?php include("nav.html"); ?>
weiter html code
</body
</html>
nav.html
<table border="0" width="100%" CELLSPACING="1" CELLPADDING="1">
<tr>
<td bgcolor="orange" align="center">
<h4>Projekte</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/termine.html"><h4>Termine</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/studium.html"><h4>Studium</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/ausbildung.html"><h4>Ausbildung</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/buecher.html"><h4>Bücher</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/links.html"><h4>Links</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="http://ibiza.kerneln.de/pflege/board/wbboard/main.php"><h4>Forum</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="http://ibiza.kerneln.de/pflege/gb/burningbook/index.php"><h4>Gästebuch</a></h4>
</td>
<td bgcolor="orange" align="center">
<h4>Chat</a></h4>
</td>
<td bgcolor="orange" align="center">
<h4>Shop</a></h4>
</td>
<td bgcolor="orange" align="center">
<a href="haupt/impressum.html"><h4>Impressum</a></h4>
</td>
</tr>
</table>
also vom prinzip her müsste die nav.html die navigatin darstellen - und der rest eben immer die normale seite sein...
problem: die seite wird dargestellt, allerdingst wird die nav.html nicht eingefügt also keine navigation da :)
wo liegt der fehler?