Re: Re: automactic email notification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 13, 2011 at 11:08 AM, Jim Giner
<jim.giner@xxxxxxxxxxxxxxxxxx> 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
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux