also ich hab folgenden code
wenn ich meinen query in phpmyadmin schreib klappt das, aber hier is wohl der wurm drin =/
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 'monat=7 AND tag < 11' at line 1
PHP-Code:
mysql_query("DELETE FROM termine WHERE
jahr=".$current_year."AND monat=".$current_month." AND tag < ".$day_nr)
or die(mysql_error());
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 'monat=7 AND tag < 11' at line 1
Kommentar