Periksa catatan yang lebih tua dari 10 hari
SELECT * FROM photo WHERE DATE(date_created) < DATE_SUB(CURDATE(), INTERVAL 10 DAY);
Wassi
SELECT * FROM photo WHERE DATE(date_created) < DATE_SUB(CURDATE(), INTERVAL 10 DAY);