Huhu,
habe mal wieder nen Syntax-error, und normalerweiße möchte ich auch keinen dmit belästigen, aber ich finden den Fehler in folgendem Text nicht:
PHP
<?
$id = $_SESSION['user_id'];
$nickname = $_SESSION['user_nickname'];
$mail = $_SESSION['user_mail'];
$geburt = $_SESSION['user_geburt'];
$vname = $_SESSION['user_vname'];
$nname = $_SESSION['user_nname'];
$info = $_SESSION['user_info'];
$webname = $_SESSION['user_webname'];;
$clanid = $_SESSION['user_clanid'];
$text11 = $_POST['text11'];
$text12 = $_POST['text12'];
$text21 = $_POST['text21'];
$text22 = $_POST['text22'];
$text31 = $_POST['text31'];
$text32 = $_POST['text32'];
$text33 = $_POST['text33'];
$text41 = $_POST['text41'];
$text42 = $_POST['text42'];
$text51 = $_POST['text51'];
$text52 = $_POST['text52'];
$text61 = $_POST['text61'];
$text62 = $_POST['text62'];
$text621 = $_POST['text621'];
$text622 = $_POST['text622'];
$text623 = $_POST['text623'];
$text6211 = $_POST['text6211'];
$text6212 = $_POST['text6212'];
$text6213 = $_POST['text6213'];
$text63 = $_POST['text63'];
mysql_connect('localhost',ffggfgsd,sfdggsdfgdfsgdfs);
mysql_select_db("zrtghfgf_3");
$query = "INSERT INTO
`clanpage_clan_text`
set
`userid`=$id
`text11`=$text11
`text12`=$text12
`text21`=$text21
`text22`=$text22
`text31`=$text31
`text32`=$text32
`text33`=$text33
`text41`=$text41
`text42`=$text42
`text51`=$text51
`text52`=$text52
`text61`=$text61
`text62`=$text62
`text621`=$text621
`text622`=$text622
`text623`=$text623
`text6211`=$text6211
`text6212`=$text6212
`text6213`=$text6213
`text63`=$text63";
mysql_query($query)
or die ("MySQL-Fehler: " . mysql_error());
?>
Alles anzeigen
Meldung:
PHP
MySQL-Fehler: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'text11`=Headline `text12`=Slogant Text `text21`=Newsletter `te' at line 5
Kann mir jemand helfen? Das ist doch alles gleich aufgebaut?!
mfg