zitwep
07-14-06, 04:16 AM
Does somebody see whats wrong with it?
$query = "UPDATE " . $tblpref . "emailtemplates SET subject = '" . $tempsub . "', message = '" . $tempmsg . "', signature = '" . $tempsig . "', from = '" . $tempfrom . "' WHERE id = '" . $tempid . "';";
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 'from = 'company@nomail.de' WHERE id = '3'' at line 1
Probalby I'm just beeing dumb again, but I cant see it :confused:
Thanks in advance
Greetz
zitwep
$query = "UPDATE " . $tblpref . "emailtemplates SET subject = '" . $tempsub . "', message = '" . $tempmsg . "', signature = '" . $tempsig . "', from = '" . $tempfrom . "' WHERE id = '" . $tempid . "';";
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 'from = 'company@nomail.de' WHERE id = '3'' at line 1
Probalby I'm just beeing dumb again, but I cant see it :confused:
Thanks in advance
Greetz
zitwep