Also hast du hierfür natürlich readfile genutzt. Oder?
Wofür ist das readfile notwendig? Funktioniert doch auch mit include.
Ich kenne mich in PHP nicht gut aus.
Wie ist dei Syntax von $_get und readfile (bsp.)? Ich habe mal das so versucht:
<?php
function f2 ($lnk){
switch ($lnk) {
case "s1":
include("s1.htm");
break;
case "s2":
include("s2.htm");
break;
case "s3":
include("s3.htm");
break;
case "ld":
include("s1.htm");
break;
}
}
?>
</head>
<body onLoad="f2(ld)">
<p id="Fusszeile" align="center">Eine Frage der Ehre</p>
<ul id="Navigation">
<li onClick="f2(s1)">S1</li>
<li onClick="f2(s2)">S2</li>
<li onClick="f2(s3)">S3</li>
Bis auf's onload hat das nicht geklappt. ich arbeite offenbar mit PHP wie mit JS. Bitte um Hilfe. Vielleicht mit $_get? Wie?