I wrote a php email that sends me an email whenever a web form has been submitted. Good thing is that I recieve the email, but bad thing is that I get multiple emails (3x)... one is a duplicate of the table I receieve and another just shows the HTML styling...

Plus another problem is that the user doesn't recieve confirmation...
I will paste in my code if it is necessary!

okay, i fixed part 1 of my issue, I just need help with this part:

user doesn't recieve confirmation...

Can you just use echo to display a message to the user that the form was submitted successfully and Cc the user in your mail subroutine?

Well yes I could do that, but right now I want to email them a confirmation saying that we got their inquiry and show them what they submitted...

So how would i do that