Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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);
Comment

PREVIOUS NEXT
Code Example
Php :: self submit form php 
Php :: php isset multiple 
Php :: validate each value from array laravel 
Php :: add log in laravel 8 
Php :: 404 page in laravel 
Php :: php file upload error 
Php :: foreach loop laravel 
Php :: strcasecmp php 
Php :: iteration in php 
Php :: get all category custom post type wordpress dev 
Php :: convert array to object php 
Php :: Convert String to Date and Date-Time in PHP 
Php :: php pdo check if update query successful 
Php :: wordpress get attachment url by size 
Php :: drupal 7 hook_form_alter 
Php :: why pusher not working in laravel 
Php :: start someones laravel project 
Php :: laravel asset 
Php :: read pdf text in php 
Php :: vscode open php tag autocomplete 
Php :: ubuntu laravel storage permission 
Php :: get text field value in php 
Php :: Laravel 5.4 Route back in blade 
Php :: how to retrieve data from database using select option in laravel 
Php :: access json object in php 
Php :: check if string starts with php 
Php :: php array length for loop 
Php :: laravel array_pluck 
Php :: how to read data from serial port in php 
Php :: php get filetype 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =