Hello,
I am currently working on a project which involves sending email out automatically when certain conditions are met in a MySQL dB using a php script, I have managed to build the email part and works, my question is how do you prevent an email being sent out twice when a condition is met, I only want one email to go out when a certain condition is met, my problem is this will be set as a cron tab so it will be running all the time, is there a variable I can use to prevent duplicate emails
Apologies if I'm not very clear and feel free to ask me for any further info
Cheers
Martin