Hallo!
ich hab folgendes Problem an dem ich schon verzweifle!
Ich möchte gerne folgende Abfrage starten:
es haut nicht hin! folgender Fehler kommt:
1064: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 'SET email_active='wert2' WHERE nick='Admin'' at line 3
was mach ich falsch?
ich hab folgendes Problem an dem ich schon verzweifle!
Ich möchte gerne folgende Abfrage starten:
PHP-Code:
$sql=" UPDATE chat1_chatusers
SET emailid='".$emailid.",
email_active='".$_POST['newemail1']."
WHERE nick='".$_SESSION['nick']."'";
1064: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 'SET email_active='wert2' WHERE nick='Admin'' at line 3
was mach ich falsch?

Kommentar