really, jcjones, the ideal is to use a separate page, but this a game site and there is no need to redirect them to other page, even if it doesn't works.
I've put your code at the beginning of the php file, but the button doesn't submit (for example, I can't see the alert generated by js. ) I also have put only the following piece..
echo '<script type="text/javascript" >confirm("Click OK to notify us.");</script>';
mail("contact@ctt.net","report broken link","Game notified:MarioBros");
echo '<script type="text/javascript" >document.fbrlink.sbrlink.disabled = true;</script>';
...after your phrase $message = 'Please submit the form.';
what causes continuous mail sending, even if I don't click the button submit.
where's the error??