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.
ASK A QUESTION
More errors PHP Questions( ! ) Parse error: syntax error, unexpected T_VARIABLE in C:wampwwwsessionindex.php on line 8
I get a Parse error on my login page... need some help please!
Warning: mysqli_error() expects exactly 1 parameter, 0 given in /ebs/home/hrrtllm/domains/hrrtllm.aisites.com/public_html/w5a1/details.php on line 6
Can someone please help me figure out why I am getting these errors: Warning: include_once(accounts-page2.php) [function.include-once]: failed to open stream: No such file or directory in /homepages/23/d333580784/htdocs/filemanager/files/utils-page2.ph
I get a PHP notice for string to array conversion - help?