Mailinglisten-Archive |
Hallo, >>DELETE FROM warenkorb AS time_date WHERE k.time_date < date_add >>(current_date, interval -30 day); DATE_SUB solltest du bei negativen Werten nehmen. Kommt keine MySQL-Fehlermeldung? DELETE FROM warenkorb AS time_date WHERE k.time_date < date_sub (current_date, interval 30 day); http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html --Christian
php::bar PHP Wiki - Listenarchive