Receiving unexpected T_STRING error.

If you are receiving this error, this means .html files are parsed as PHP. In case, your .html has the tags like "<?" or "?>" you will receive the above error. File parser assumes that the PHP code is started and you will get the same error. If you don’t use the correct content type, you can receive this error with XML files. Once you remove the "<?" or "?>"  from your html code, you shouldn’t receive the same error again.

Related Articles

How to Serve Scaled Images on Your WordPress Website using plugins?

If you have tested your website in a performance testing tool and asking you to serve the scaled...

How to enable TLS in Google Chrome, Mozilla Firefox and Internet Explorer?

Here are the steps you can follow to enable TLS in different browsers: Firefox Type...

How to resolve question marks and mysterious symbols on my site?

If you are seeing some strange symbols that are displaying on your site, it is due to incorrect...

Does Mobile application requires hosting service?

Yes, you need a hosting service for the application backend to manage the following thing....

Where do i put my review for Accuwebhosting.com?

Here, is a list of website links where you can put your reviews for Accuwebhosting....

  • 0 Users Found This Useful

Was this answer helpful?