As I'm developing this site. (Learning as I go) I get a number of repeating errors as I test my code which I don't understand. One of which is unexpected or expected T_STRING..... What is a T_STRING? I'm guessing this is a syntax error, but understading it better would be helpul.
Thanks
It will have given a line number where this T_STRING is expected. Can you post that line along with the code that appears 5 lines before and 5 lines after please.
Actaully, I'm looking to have a better understanding of what a T_STRING is as I get it with a lot of my scripts.
I can tell you exactly what it is, cos I get it too. Please can you post your code like I said cos then it will be easier to explain...
i often meet this problem although i don't know what's it, but i solved it each time i check the quotes. double quotes, single quotes, and don't forget to use dot to concatenate strings and variables when u r getting messed.
From my experience, I get this error when:
1) I'm missing a ' or " 2) My file is chmod wrong. It should be 755 to be executed. 😉