[PHP-DB] automactic email notification

2011-04-13 Thread Chris Stinemetz
I have an all-in-one form which allows record edits, adds and deletes in a mysql table. I would like to add the ability to automatically send email update to a distribution list whenever a record is edited, deleted, or added. I won't be hosting my own mail server so instead I will be using

[PHP-DB] Re: automactic email notification

2011-04-13 Thread Jim Giner
Without looking at your HUGE code stream, I'm curious what your question really is. If you know how to send an email, and you know how to update your table, then isn't your task simply to send an email after updating the table? I would make the email a function to get it out of the way and

Re: [PHP-DB] Re: automactic email notification

2011-04-13 Thread Chris Stinemetz
On Wed, Apr 13, 2011 at 11:08 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Without looking at your HUGE code stream, I'm curious what your question really is.  If you know how to send an email, and you know how to update your table, then isn't your task simply to send an email after

Re: [PHP-DB] Re: automactic email notification

2011-04-13 Thread Jim Giner
Looking at all that code you already wrote, you're not that much of a newbie. Read up on functions. (A function is merely the same code you already run but it's set aside, out of the main execution path of your script, so that you can call it from anyplace that you need to execute that