Help?? Unexpected character in input: '\' (ASCII=92) state=1 in

Discussion in 'PHP' started by Beefandy, Jun 1, 2011.

  1. #1
    Hi, I'm getting this error below for a simple email function

    Warning Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/vhosts/release-news.com/httpdocs/email.php on line 2

    Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/release-news.com/httpdocs/email.php on line 2

    Here is what the first 3 lines of code looks like

    {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\f0\fs20 <?php\par
    //Submit Article Email\par


    It was working ok but must of got messed up some how? Any help would be greatly appreciated!

    Thanks
     
    Beefandy, Jun 1, 2011 IP
  2. 812402

    812402 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What line was it on?
     
    812402, Jun 1, 2011 IP
  3. Beefandy

    Beefandy Active Member

    Messages:
    773
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Well this would be line 2 below which it says the problem is on?

    {\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\f0\fs20 <?php\par



    Thanks
     
    Beefandy, Jun 1, 2011 IP