tag auch leute,
ich bin dabei meine seite neu zu programmieren, bzw mache das zum ersten mal und guck mir auch von nem youtuber tutorials an um da schritt für schritt mitzumache.. ich habe jedes tutorial verfolgt und meine seite hat bisher keine fehler gezeigt
außer jetz und zwar ich versuche mit php zuarbeiten.. jetz habe ich mehrere php dateien erzeugt, da wäre meine page.php in der mein ganzer html code steht und dann noch sowas wie startseite.php menu.php footer.php ueber_mich.php und andere
allerdings bin ich jetz schon als ich die allererste datei ( startseite ) includen wollte, am scheitern.. und zwar wird sie mir nicht angezeigt..
mein code sieht wie folgt aus:
<html>
<head>
<title> Mein Grundgerüst </title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrapper" class="shadow">
<div id="header">
</div>
<div id="top-menu" class="shadow">
<?php include("menu.php"); ?>
</div>
<div id="content">
<article>
<h1> Text 1 </h1>
Never made it as a wise man
I couldn't cut it as a poor man stealing
Tired of living like a blind man
I'm sick of sight without a sense of feeling
And this is how you remind me
This is how you remind me
Of what I really am
This is how you remind me
Of what I really am
It's not like you to say sorry
I was waiting on a different story
This time I'm mistaken
for handing you a heart worth breaking
and I've been wrong, i've been down,
been to the bottom of every bottle
these five words in my head
scream "are we having fun yet?"
<br ></br >
</article>
<article>
<h1> Text 2 </h1>
it's not like you didn't know that
I said I love you and I swear I still do
And it must have been so bad
Cause living with me must have damn near killed you
And this is how, you remind me
Of what I really am
This is how, you remind me
Of what I really am
It's not like you to say sorry
I was waiting on a different story
This time I'm mistaken
for handing you a heart worth breaking
and I've been wrong, i've been down,
been to the bottom of every bottle
these five words in my head
scream "are we having fun yet?"
<br ></br >
</article>
</div>
</div>
<div id="footer">
© 2015 Tamer Kalieh All rights reserved
</div>
</body>
</html>
und dann jetz die menu datei die ich includen will sieht so aus:
<ul>
<li><a href="Page.html">Startseite <a/></li>
<li><a href="Über mich.html">Über mich <a/></li>
<li><a href="Bilder.html">Bilder <a/></li>
<li><a href="Impressum.html">Impressum <a/></li>
</ul>
ich weiß nicht was ich falsch gemacht habe.. also die menu.php datei ist im selben ordner wie die Page.php