#1064 - 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 'WEEK ) < datetoremove LIMIT 0, 30' at line 3
@AdamGundrySep 14.2004 — #Try "7 DAY" instead of "1 WEEK" - I think the latter might not be supported in some MySQL versions. If that doesn't work, can you post the whole query you are using?
#1064 - 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 '( datetoremove, CURDATE( ) ) <=7 LIMIT 0, 30' at line 3