Kennisbank

Vind artikelen over functies, probleemoplossingen,
en andere technische informatie over de Hostinger hostingdiensten.

I get 'unexpected T_STRING' error

Bijgewerkt op:
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.

  • Gemakkelijke Websitebouwer
  • 99.9% Beschikbaarheidsgarantie
  • 24/7 Live Support
  • Powerful Control Panel
  • 30 Dagen Geld Terug Garantie
Limited Time Special Offer!
Vanaf
0
99
/ma
Bespaar 90%
Begin nu