Receiving unexpected T_STRING error. Imprimer

  • 0

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.


Cette réponse était-elle pertinente?

« Retour
Sign up for a newsletter

chat