SELECT * From news_content_temp where created = date_sub(curdate(),INTERVAL WEEKDAY(curdate()) +7 day);
Delete From news_content_temp where created = date_sub(curdate(),INTERVAL WEEKDAY(curdate()) +7 day);
SET SQL_SAFE_UPDATES=0;
SET SQL_SAFE_UPDATES=1;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)