Original geschrieben von jahlives
Dann eher so
Dann eher so
Code:
SELECT * FROM tabelle WHERE DATE_FORMAT(Datum,'%Y-%m-%d') = CURDATE();
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 'WHERE DATE_FORMAT(Datum,'%Y-%m-%d) = CURDATE()' at line
12
Kommentar