Answers for "delete after 30 days in php"

PHP
1

delete after 30 days in php

DELETE FROM archive
WHERE STR_TO_DATE(SUBSTR(created_date, 0, 25), '%a, %d %b %Y %H:%i:%S') <
      DATE_SUB(NOW(), INTERVAL 30 DAY);
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language