frankx: Wie Kopfteil in jede Seite einbinden

Beitrag lesen

Hellihello

Quasi.

Naja, HTML per PHP auszuechoen ist mMn. nicht optimal praktikabel.

eher
html_frame.inc.php:

  
<html> ...  
<?php include ("head.inc.php");?>  
<body>  
<?php include ("menu.inc.php");?>  
<div class="content">  
<?=$content?>  
</div>  
</html>  

Content dann per output_buffering einsammeln, ggf. noch Variablen wie $title usw. setzten und als letztes dann den html_frame.inc.php includieren.

Dank und Gruß,

frankx

--
tryin to multitain  - Globus = Planet != Welt