Hallo, bin Anfänger und habe eine Frage …
Ich möchte bei meiner Homepage einfügen. Es funktioniert aber nicht. Die Datei Header.php ist als include Datei in der index.php.
So sieht die header.php aus, wenn die Seite funktioniert:
[code=php]<?php
print ("
Die index.php sieht so aus (Auszug des oberen Teiles) mit der include header.php:
[code=php]<?php
include(„include/dbconnect.php“);
include(„include/vars.php“);
include(„include/baskvars.php“);
include(„include/header.php“);
include(„include/left.php“);
print ("
"); $sql2_texte5 = "SELECT * FROM texte WHERE txt_id = '5'"; $res2_texte5 = mysql_query($sql2_texte5); while($row = mysql_fetch_assoc($res2_texte5)) { $txt_content5 = $row['txt_content']; $txt_content5 = str_replace(array("[","]"), array("<",">"), $txt_content5); print ("$txt_content5"); } print ("
[/code]Was habe ich falsch gemacht?