Help for this page
$SQL = "Select * from database where (TO_DAYS(enddate) - TO_DAYS(Now() +) = 8) AND payment!='premium'"; &Do_SQL; ... $action = "Email Reminders sent!"; $log = "Sent $count emails."; &log_it;
Sent 4 emails.<br> Email sent to user1<br> Email sent to user2<br> Email sent to user3<br> Email sent to user4<br>