also ich habe folgendes script als navigation.php gespeichert.
- Code: Select all
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>DVD-Schauspielerdatenbank</title>
<!--############ EINFÜGEN DES SCRIPTS FÜR DIE SELBSTERKLÄRUNG ##############-->
<SCRIPT language="JavaScript1.2" src="main.js" type="text/javascript"></SCRIPT>
<!--############ ENDE DES SCRIPTS FÜR DIE SELBSTERKLÄRUNG ##############-->
</head>
<body bgcolor="#DEE39D">
<!--############ EINFÜGEN DES SCRIPTS FÜR DIE SELBSTERKLÄRUNG ##############-->
<DIV id="TipLayer" style="visibility:hidden;position:absolute;z-index:1000;top:-100;"></DIV>
<SCRIPT language="JavaScript1.2" src="style.js" type="text/javascript"></SCRIPT>
<!--############ ENDE DES SCRIPTS FÜR DIE SELBSTERKLÄRUNG ##############-->
<form action="checkuser.php" method="post" name="" id="" target="Banner">
<table border="1" align="left" bgcolor="#DEE39D" cellpadding="2"
cellspacing="2">
<tr>
<th height="50" align="left" valign="top" colspan="2">
<b>Navigationsmenü</b><p><span style="font-size:8pt">
<input type="hidden" name="ausgefullt" value="abgeschickt">
<a href="join_form.html" onMouseOver="stm(Text[1],Style[0])"
onMouseOut="htm()" target="Daten">Registration</a></p></span></th>
</tr>
<tr>
<td><span style="font-size:8pt">Username</span></td>
<td><input name="username" type="text" id="username" size="12" maxlength="17"></td>
</tr>
<tr>
<td><span style="font-size:8pt">Password</span></td>
<td><input name="password" type="password" id="password" size="12" maxlength="17"> </td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td>
<td align="center"><a href="lost_pw.html" onMouseOver="stm(Text[2],Style[0])"
onMouseOut="htm()" target="Daten"><span style="font-size:8pt">Passwort vergessen?
</span></a></td>
</tr>
</form>
</table>
</body>
</html>
Wenn ich nun Phpcode in die bestehende Htmlseite die schon ein Javascript enthält einfüge mit z.B
<?php ....Irgend ein Code....?>
Wird die Seite leer angezeigt einfach weis. Dabei müsste sie eine Farbe und eine Tabelle besitzen. Wie mache ich es das alles angezeigt wird?
Gruß Tommy