Unbenanntes Dokument
Hier kann man was eingeben und wenn ich das tu kommt folgendes hinstehen :
Parse error: syntax error, unexpected T_VARIABLE in /www/htdocs/w009d8d0/auswertung.php on line 10
das php script bei dem der fehler erscheint sieht so aus :
Was soll ich tun ? was heist das : Parse error: syntax error, unexpected T_VARIABLE in /www/htdocs/w009d8d0/auswertung.php on line 10
Danke für die Hilfe
Hier kann man was eingeben und wenn ich das tu kommt folgendes hinstehen :
Parse error: syntax error, unexpected T_VARIABLE in /www/htdocs/w009d8d0/auswertung.php on line 10
das php script bei dem der fehler erscheint sieht so aus :
PHP-Code:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
<?
include("#mysql.inc");
$motto = trim($_POST['motto']);
$quelle = trim($_POST['quelle']
$query = "INSERT INTO motto "
."(motto, quelle)"
."VALUES "
."('$motto','$quelle')";
$dummy = mysql_query($query);
mysql_close($dz);
?>
</head>
<body>
<p>Das folgende Motto wurde eingetragen:</p>
<blockquote style="width:500px; padding : 10px; border : 2px solid black">
<?="$motto<br><i>$quelle</i>"?>
</blockquote>
<p><a href="www.tom-hetto.com/eingabe.html">Weitere Eingaben</a></p>
</body>
</html>
Danke für die Hilfe
Kommentar