Jump to content

Email upon new database entry?


markspec87

Recommended Posts

An easier way might be to add the code into a function.
EG, the function which sends all the info to the db, should post an error if there is a problem, which makes your if - else statements.

So under the actual process for posting the info into the db, you could add the process for mailing a email to yourself, and if anythink fails, then it will give the user the standard db error

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.