I'm trying to work out how to send data through FORM ACTION to two separate php files but don't seem to be able to make this work. On one file, the form changes the information in a page seen by the user (changes names in a fantasy football team actually) while the other file will send their changes to me via email.
Both php files work well with the form file separately. And they work if I include them both on the same php file. The trouble with that is every time someone calls the file to look at their team, or refreshes it, the email php script is activated and sends me an email and I don't want this to happen.
I've tried using a comma to separate the files like you can in mailto for different email addresses thus:
<FORM ACTION = "sendmail.php", "othermail.php" METHOD = "POST">
but this won't work.
Can anyone give me any ideas? I would be grateful for any advice.
Cheers
Mickey