logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free Domain Name
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

00
DAYS
03
HOURS
41
MINUTES
04
SECONDS
Black Friday Sale: Cheap Web Hosting
From RM2.99 /Month!
See All Deals
×

Knowledge base

Find information within our custom articles about Hostinger's features
and all information relating to hosting practices.

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.