PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How do I implament a email notice into a script. I have a script that is very simple, but using MySQL to store the testimonials. I would like to get a email notice once a new person submits a new testimonial. How can this be done?
Sorry I didn't mention this before. I would also like it to notify the customer once I approve the testimonial. Letting them know that it was approved and have a link telling them where to go, if they want to look at it.
As I have mentioned I am very new with php and maybe I just don't understand what you are saying. How do I tell it that it was successful and it send the email.
The way this is looking is that the only way the email will work is if I add the persons email in the script. I am wanting it to email the person of a testimonial I approve. So when I appove it, the script will add the clients email address to the mail script and send it to them.
we understand what you are looking for.
What is the problem? did you try doing the script and it didnt work.. or you want us to do it? i dont thing its the second one.
The biggest thing is I am new with php and I am not real formilar with the mail functions yet. I don't know how to put the mail code in the script. Does it go on the same page as the approval page or in the config file?