Log in

View Full Version : how to send out email notification....



snic07
07-06-2007, 02:58 PM
How to send out email notification only when a web form field has changed?

I would like to do this using php. The db is MYSQL.

I know I could do this with triggers in MYSQL 5.0 but I am running 4.1.20 at this time.

Maybe someone can help and if you have any ideas please show an example to get me started on the right track.

thanks for your time,
Snic07

thetestingsite
07-06-2007, 03:05 PM
Have a look at the examples on this page for sending the email out:

http://us2.php.net/manual/en/function.mail.php

As for checking to see if a form field has changed, I'm not sure how you would do that off the top of my head. Perhaps after I wake up a bt I could figure something out.

Hope this helps.

snic07
07-06-2007, 03:09 PM
Any help is greatly appreciated

Thks again