Re: Re: automactic email notification
| From: | Chris Stinemetz | Date: | Wed, 13 Apr 2011 16:20:47 +0000 |
| Subject: | Re: Re: automactic email notification | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47761@lists.php.net to get a copy of this message | ||
On Wed, Apr 13, 2011 at 11:08 AM, Jim Giner
<jim.giner@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 updating the
> table?
Yes.
> I would make the email a function to get it out of the "way" and
> then add a call to it right after I did an update. The user probably gets a
> message of the successful update, so when you do that, that's when you call
> your email function. Maybe have a couple of arguments in the function to
> pass some specifics and that's that.
>
Could you possbily show me an example? I am a newby when it comes to PHP.
Thank you!
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>