Parse error: syntax error, unexpected T_STRING

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryepsen
    New Member
    • Jan 2014
    • 1

    Parse error: syntax error, unexpected T_STRING

    Hi, I'm new to PHP and websites. I'm using an older version of iWeb for a quick website, and when uploading get this error:
    Parse error: syntax error, unexpected T_STRING in /home/a3684415/public_html/index.html on line 1

    Looking at index.html, this is the code:

    <?xml version="1.0" encoding="UTF-8"?><!DOCTYP E html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d"><html xmlns="http://www.w3.org/1999/xhtml"><head><t itle></title><meta http-equiv="refresh" content="0;url= Home.html" /></head><body></body></html>

    Thanks for your help.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    there is no PHP code, so why do you run that through the PHP parser?

    Comment

    Working...