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 QuestionsPHP error - use of undefined constant at line x... what does this mean?
hi guys i have a problem with my script it says my strings are undefined but i clearly did it worked before some help please Patientnaam: geboorte datum: Afdeling:
( ! ) Parse error: syntax error, unexpected T_VARIABLE in C:wampwwwsessionindex.php on line 8
Is it possible to create php programs and view them if my operating system is DOS, not unix? Whether I create a DocumentRoot of C:\public_html, or C:/public_html, in my httpd.conf file, the result is: When go to http://127.0.0.1, I see: Index of
Upon sending email I get an error message about every other time using the Mail() function from a form that is filled out in HTML. The email fails to send on EVERY OTHER form.