Okay guys I have a registration page that is in flash, and what I need to happen is when the user fills out the registration form and submits, it sends the form data to me, but also will send another email to the user with the registration confirmation.

I am very new to php, but In my php file I was using two mail() functions. one to send the form data to me, and the other mail() to send a thank you email to the user. but I can only get one mail() to work, and not two. When I have two mail() functions right after eachother, it gives me a parsing error.

can someone help me? It isnt really a flash question, more of a coding in PHP one.

dduck1934.