Hi,
ich kriege bei meinem PHP-Script immer folgende Fehlermeldung:
Ich finde aber keinen Fehler:
Was meint er hier?
Gruß Alex
ich kriege bei meinem PHP-Script immer folgende Fehlermeldung:
Code:
[B]Parse error[/B]: syntax error, unexpected T_STRING in [B]/var/www/web745/html/ballerspiel/index.php[/B] on line [B]1[/B]
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ballerspiel!</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="maindiv">
<div class="ueberschrift"></div>
<div class="game">
<applet style="position:relative; top:20px; left:20px;" code="CGameMain.class" archive="test.jar" width="300" height="520"></applet>
</div>
<div class="highscore">
<?php
include("../dbconnect.php");
for($i = 1; $i < 11; $i++)
{
$abfrage = mysql_query("SELECT name FROM Highscore WHERE id = '$i'");
$ergebnis = mysql_result($abfrage,0);
echo $i": "$ergebnis"\n";
}
?>
</div>
<div class="rest"></div>
</div>
</body>
</html>
Gruß Alex