folgender code: (69 zeilen lang)
<html>
<head>
<title>kasten-lauf.de</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style type="text/css">
BODY {
scrollbar-base-color:#202576;
scrollbar-track-color:black;
scrollbar-face-color:#202576;
scrollbar-highlight-color:black;
scrollbar-3d-light-color:;
scrollbar-dark-shadow-color:;
scrollbar-shadow-color:;
scrollbar-arrow-color:
}
table {table-layout:fixed; border:solid 0px #003366; border-collapse:collapse;}
td {font-family:arial; font-size:8pt; color:white; text-align:center; border: solid 1px #202576;}
td.head {font-family:arial; font-size:10pt; color:white; text-align:center; border: solid 1px #202576; background-color:#202576;}
a:link, a:visited, a:activ {text-decoration:none; font-family:arial; font-size:8pt; color:royalblue;}
a:hover {text-decoration:underline overline; font-family:arial; font-size:8pt; color:royalblue;}
</style>
<SCRIPT LANGUAGE="JavaScript" SRC="rechtsklick.js">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="laufschrift.js">
</SCRIPT>
<body bgcolor="#000000" text="#FFFFFF" topmargin="20" onload="laufschrift ()" + "rechtsklick ()">
<div align="center">
<table width="100%" border="0">
<tr>
<td class="head">N E W S</td>
</tr>
<tr>
<td>
<?
$db= mysql_connect();
mysql_select_db ("becksandi_de_db",$db);
$result = mysql_query("SELECT * FROM news",$db);
$n = 2002-01-01;
while ($myrow = mysql_fetch_row($result)) {
$date = $myrow[3];
if ($date>$n) {
$n = $date;
}
else {
$n = $n;
}
$result = mysql_query("SELECT * FROM news WHERE date=$n",$db);
while ($myrow = mysql_fetch_row($result)) {
$datum = $myrow[1];
$text = $myrow[2];
echo "News vom: ";
echo $datum;
echo $text;
}
?>
</td>
</tr>
<tr>
<td>
<div align="right"><font size="1">zu den alten News</font></div>
</td>
</tr>
</table>
</div>
</body>
</html>
so dann kommt folgende fehlermeldung: Parse error: parse error in aktuell.php on line 70
und das obwohl die ganze file nur 69 zeilen lang ist.
wie kann das sein?
mfg andi
<html>
<head>
<title>kasten-lauf.de</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<style type="text/css">
BODY {
scrollbar-base-color:#202576;
scrollbar-track-color:black;
scrollbar-face-color:#202576;
scrollbar-highlight-color:black;
scrollbar-3d-light-color:;
scrollbar-dark-shadow-color:;
scrollbar-shadow-color:;
scrollbar-arrow-color:
}
table {table-layout:fixed; border:solid 0px #003366; border-collapse:collapse;}
td {font-family:arial; font-size:8pt; color:white; text-align:center; border: solid 1px #202576;}
td.head {font-family:arial; font-size:10pt; color:white; text-align:center; border: solid 1px #202576; background-color:#202576;}
a:link, a:visited, a:activ {text-decoration:none; font-family:arial; font-size:8pt; color:royalblue;}
a:hover {text-decoration:underline overline; font-family:arial; font-size:8pt; color:royalblue;}
</style>
<SCRIPT LANGUAGE="JavaScript" SRC="rechtsklick.js">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="laufschrift.js">
</SCRIPT>
<body bgcolor="#000000" text="#FFFFFF" topmargin="20" onload="laufschrift ()" + "rechtsklick ()">
<div align="center">
<table width="100%" border="0">
<tr>
<td class="head">N E W S</td>
</tr>
<tr>
<td>
<?
$db= mysql_connect();
mysql_select_db ("becksandi_de_db",$db);
$result = mysql_query("SELECT * FROM news",$db);
$n = 2002-01-01;
while ($myrow = mysql_fetch_row($result)) {
$date = $myrow[3];
if ($date>$n) {
$n = $date;
}
else {
$n = $n;
}
$result = mysql_query("SELECT * FROM news WHERE date=$n",$db);
while ($myrow = mysql_fetch_row($result)) {
$datum = $myrow[1];
$text = $myrow[2];
echo "News vom: ";
echo $datum;
echo $text;
}
?>
</td>
</tr>
<tr>
<td>
<div align="right"><font size="1">zu den alten News</font></div>
</td>
</tr>
</table>
</div>
</body>
</html>
so dann kommt folgende fehlermeldung: Parse error: parse error in aktuell.php on line 70
und das obwohl die ganze file nur 69 zeilen lang ist.
wie kann das sein?
mfg andi
Kommentar