EMAIL REMINDER AGAIN lol SOZ
Posted: Sun Jun 21, 2009 10:12 am
Hello again guys and sorry to be repeating my self a little here but im having trouble writing the code for an email reminder script.
Basically users input their email addresses into a form inserting them into a database.
Then two days before an event (classical music event) they will be sent out an email reminder.
My main problem is that I dont know how to write a query that tells the script to send the email 2 days before the event.
Any examples would be greatly appreciated.
ie: if(todayDate < 2days before ProgrammeDate){
send email
}else{
exit;
}
Basically users input their email addresses into a form inserting them into a database.
Then two days before an event (classical music event) they will be sent out an email reminder.
My main problem is that I dont know how to write a query that tells the script to send the email 2 days before the event.
Any examples would be greatly appreciated.
ie: if(todayDate < 2days before ProgrammeDate){
send email
}else{
exit;
}