Hi
I have a small php website where I need to compare todays date with a registration date and if the date is exactly 40 days ago I will send a mail out
I have the following query, but it is not working - anybody got an idea why
$query = "SELECT name,email,date FROM tabel1 WHERE TO_DAYS(tabel1.date) - TO_DAYS(CURRENT_DATE) == 40"
Hope for a response soon
Regards
Claus
I have a small php website where I need to compare todays date with a registration date and if the date is exactly 40 days ago I will send a mail out
I have the following query, but it is not working - anybody got an idea why
$query = "SELECT name,email,date FROM tabel1 WHERE TO_DAYS(tabel1.date) - TO_DAYS(CURRENT_DATE) == 40"
Hope for a response soon
Regards
Claus