ich habe da ein Problem bei dem Updaten von einer Zelle.
Fehlermeldung:
Code:
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 'character=testcharacter WHERE name=test' at line 2
Code:
mysql_query("
UPDATE accounts
SET character=$charname
WHERE name=".$_SESSION['login']."
")or die(mysql_error());






