jaag76: php mit include einbinden trotz xampp keine Betrachtung

Beitrag lesen

Hallo,

<?php readfile(nav.php)?> […]
<?php include 'KA.php'; ?>

Bei include weißt du dass du den Dateinamen als String übergeben musst, warum weißt du das bei readfile nicht mehr?

Gruß,
Tobias

SORRY aber es egal wie ich das mache, geht nicht.

<!DOCTYPE html>
<html lang="de">
<head>
  <title> </title>
  <meta charset="utf-8" />
<link rel="stylesheet" href="Haupstyle.css" type="text/css">

</head>
<body background="1.jpg"  style="background-attachment:fixed";>

<img id="logo" src="titel1.jpg"  align="right"/>
 <p id="drei"> Rhein-Main Elektrotechnik</p>
                                                 <?php readfile 'nav.php' ; ?>

<?php  include 'KA.php'; ?>
<table id="inhalt">
<td><h1>HOLA COMO ESTAS</h1></td>

</table>
<?php echo '<p>Hallo Welt</p>'; ?>

<video id="toten-hosen" src="hosen.mp4" poster="" controls="controls" width="300" height="300"></video>
<img id="spektrum" src="fb123.jpg" />
<table id="nav-table">
<td><h1>8965</h1></td>

</table>
<ul id="navi">
<li><a href="#">Team</a></li>
<li><a href="#">Meister</a></li>
<li><a href="#">Auszubildender</a></li>
   <ul  class="bild" >

</ul>
<li><a href="#">Meister</a></li>
<li><a href="#">Auszubildender</a></li>

</ul>
<script src="your_js_lib_name.js" type="text/javascript"></script>
</body>
</html>