Page 1 of 1

making a submit button perform two things at once?

Posted: Thu Feb 12, 2004 10:30 am
by phpnewbie1985
Is it possible to make the click event of a submit button do two things at once? eg when a user fills in a form it sends us an e-mail and sends them a confirmation email? is this possible by putting a comma inbetween two pages eg...

<form method="POST" action="confirmation.php,email.php">

then on those two pages have two functions which get performed?

if this is possible could someone explain how this could be done?

Many thanks
Chris

Posted: Thu Feb 12, 2004 10:34 am
by patrikG
No, you can only submit a form to one page. Why don't put both functionalities in one page?