I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched the forums, but I can't seem to fix this. I'm sure the fix is obvious, but I so new I really need help. Thanks.
Parse error: syntax error, unexpected T_STRING in /public_html/send.php on line 4
if(mail($to, $subject, $message, $headers)) {//we show the good guy only in one case and the bad one for the rest. echo 'Thank you '.$_POST['firstName'].'. Your message was sent.'; echo '<noscript> <a href="http://www.yourdomain.com">Back to yourdomain.com</a></noscript>'; } else { echo "Message not sent."; echo "Please make sure you're not running this on localhost and also that you are allowed to run mail() function from your webserver."; } } else { echo "Please make sure you filled in all the required fields, that you entered a valid email and also that your message contains more then 15 characters."; echo "<noscript> Use your browser's back button or <a href="http://www.yourdomain.com">click here</a></noscript> to try again."; } ?>