I have a form that customers willl fill out, I have that info being inputed into the database, the same script that inputs that data into the database also emails me the information that they inputted. I would also like an email to be sent to them, just notifying them that I got their request. So what do I need to do?
I know I cannot add a second mail command in the one script. Do I need to write a second sript to read the data in the database and email it from there, or can I just write script that can be included in the first script that will just read the POST Vars from the form and will email them what I want?
Right now I have form.php which they fill out, which posts to order.php and that script checks all the variables to make sure they are entered, it stores the inputted data into a database and it emails me the information. Thats it.