Black Friday Sale 90% OFF
09
DAYS
02
HOURS
44
MINUTES
03
SECONDS

I get 'unexpected T_STRING' error

Modified on:
unexpected T_STRING php error

You may get this error because all .html files are parsed as PHP here. So, if your .html file contains "<?" or "?>" tags/text (which shows for file parser that PHP code started), you get this error. This can happen with XML files if they are not using correct content type. If order to fix this error you need to remove "<?" and "?>" symbols or entire lines with these symbols from your HTML page source.

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Black Friday Sale
From
PHP
35
00
/mo
Save 90%
Get started