ASP Form Tutorial

Does anybody know where I can find a tutorial on how to make an ASP/PHP email form. I already know how to make the basic form and have it send to an email address, but I want to have it so that it will send a message to the the user thanking them for filling out the form while also sending an email to someone else with the information that the user filled out. So, basically it’s sending two emails out to two different people, based on the form. I’ve googled it and just found basic form tutorials. Any help would be much appreciated!

Thanx in advance.