Parse error: syntax error, unexpected T_STRING in /home/friddbui/public_html/Assets/contactengine.php on line 38
I'm not sure what the problem is. Perhaps I've incorrectly written where I'm wanting to direct then once they've submitted the contact form.
Could somebody please help. Here's a link to my contact page
http://www.friddbuilding.co.nz/contact.html

You could have corrected this by comparing it to your other examples :rolleyes:

meta, refresh is a legacy method and use of header() to re-direct is preferred.

BTW All that '$Body .=' is inefficient/a little messy - it could be constructed in fewer lines:

$Body = "Name: $Name\n"; // etc.
$Body .= "Tel: $Tel\n";

or one or two bigger lines.

Added: And you should remove, or use fake, email addresses in your posted-code.

tangoforce

08-05-2012, 09:33 PM

print "<meta http-equiv=\"refresh\" content="http://

That last " before http:// should be escaped. The http:// is the unexpected T_STRING while everything after the // is a comment. If you look at your code in an editor like notepad++ you will see this because the colours change around those parts of that line of code.