There's gotta be a way, in mysql, to trigger an email when new data is added. Am i wrong on this?
For example, right now, i use some third party shopping cart, which is really cheesy. When a customer orders something, I get an email with a link. I click this link, it asks for my username and password, and whala, i come to a page where i see that order, the customer information, etc. And all that was stored in a database. Somehow, this third party company, has coded their system in such a way, that as soon as an order is placed, it sends me that email, and when i log in, it calls the database, based on that orderID, and shows me a nice html output of the order and customer info.
This is basically what I'm looking to do. But for now, i'm stuck on the how do i send myself an email notifying me that a new order has been placed.