ste1nm3tz: Navigationsleistem mit php????????

Beitrag lesen

wie geht dss dne mit include geanuer syntax bitte
wo muss ich include reinschreibn?
was für ein endung muss die datei in der include steht haben?

ich hab mir mal 3 datein gemacht ne index  ne navigation und ne main

index.php
<html>
<head><title></title></head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" <bgcolor="#A050A0">

<tr>
  <td valign="top" width="200">
   <table border="0" cellpadding="10" cellspacing="0">
    <tr>
     <td>
      navigation

<?PHPinclude("nav.php");?>

</td>
    </tr>
   </table>
  </td>
  <td valign="top" bgcolor="#FFFFFF">
   <table border="0" cellpadding="10" cellspacing="0">
    <tr>
     <td>

<?PHP include("main.php");?>

</td>
    </tr>
   </table>
  </td>
 </tr>
</table>
</body>
</html>

nav.php

<html>
<head><title></title>
</head>
<body>
<a href="main.php">Home</a>
<br>
<a href="seite1.php>seite1</a>
</body>
</html>

main.php

<html>
<head><title></title>
</head>
<body>
willkomen
</body>
</html>

eigentlcih sollte links die ^navigation sein und rechts der willkomen text was ist falsch??^^^^^^^^