Hallo Profis,
ich habe ein Problem mit einer Abfrage, die weder über ein PHP-Skript noch über die direkte Eingabe in MySQL funktioniert und ich weiß nicht, warum!
So sieht sie aus:
$sql = "INSERT INTO master SET
Name = '$Name',
Update = CURDATE()";
Und die Fehlermeldung sieht so aus:
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 'Update = CURDATE()' at line 3
Ich bin ratlos.
Sandra_S
ich habe ein Problem mit einer Abfrage, die weder über ein PHP-Skript noch über die direkte Eingabe in MySQL funktioniert und ich weiß nicht, warum!
So sieht sie aus:
$sql = "INSERT INTO master SET
Name = '$Name',
Update = CURDATE()";
Und die Fehlermeldung sieht so aus:
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 'Update = CURDATE()' at line 3
Ich bin ratlos.
Sandra_S