Is there a way to run some sort of script or process after a line or entry is edited in my mysql database. I’m mainly wondering because I’d like to send an email for user authentication after an entry is created. Afterwards, once the link sent to the email is clicked, I’ll figure a way of updating the entry. I am most familiar with C#, but am willing to learn php for this as I’d like to anyways. Any code samples or tutorials would be awesome.
I’ve searched online but haven’t found anything useful. Maybe I just don’t know what to look for.
I don’t know if this is related, but under attributes, there is an option for “on update CURRENT TIME STAMP”. Would this be related?
Additional information. I use C# for client based operations and Cpanel w/ phpMyAdmin for database editing.
You might be interested in triggers. Read on http://dev.mysql.com/doc/refman/5.0/en/triggers.html
EDIT Your next question possibly would be: How to send email from a trigger?
Unfortunately there is not a single, trivial way to do so. These are two different approaches: