What is wrong with this line?

unexpected T_VARIABLE in e:\domains\f\fylde-electrical.co.uk\user\htdocs\sendmail.php on line 2

Please help

Thankyou

Mike

Comments

gjost’s picture

this is most likely a problem in your PHP syntax. check for the following in your code:

* lines that don't end with a semicolon.
* unclosed/unbalanced parentheses, square brackets, curly brackets, and quotation marks.
* make sure your quotation marks all match - if you use double-quotes, then single-quotes don't count.