Bu hatadır:
Ayrıştırma hatası: sözdizimi hatası, beklenmedik '}' hat 9 / home / idghosti / public_html / testground / MMA / include / footer.php içinde
Bu kodu:
<?php
} else {
error_reporting(0);
if (mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"))
//Message sent!
//It the message that will be displayed when the user click the sumbit button
//You can modify the text if you want
echo nl2br("
<div class=\"MsgSent\">
<h1>Congratulations!!</h1>
<p>Thank you <b>$name</b>, your message is sent!<br /> We will get back to you as soon as possible.</p>
</div>
");
else
// Display error message if the message failed to send
echo "
<div class=\"MsgError\">
<h1>Error!!</h1>
<p>Sorry <b><?=$name;?></b>, your message failed to send. Try later!</p>
</div>";
}
?>