Parse error in PHP - unexpected T_variable at line x. What is this error?
What you should do is check carefully at the lines around where the error is for any simple mistakes - for instance forgetting to include semi-colons at the end of statements, or not using " correctly or ' correctly in your statements.
They can be quite fiddly to find, but by carefully checking the code around the line generating the area, you should be able to find the mistake you have made with your syntax and resolve the T_variable error.
Comment on this Question and Answer >>>
ASK A QUESTION
More errors PHP Questions
I get a parse error - unexpected ; at line x message. What is this?I get a Parse error on my login page... need some help please!
I have had a login script on a website for a few months working fine without a problem. But the pastfew days it now returns an error. This is the error: Parse error: syntax error, unexpected '{', expecting '(' in D:Hosting6189501htmllog.php on li
How can i fix my internet webpage?
Dear all, i am using the Ireport to do the interface of my report and i want to combine it with the ATK Framework using Zend studion. but when i click "Print"(cetak), the page is blank. and the url showing the nokp=array. is there anything wr
