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 QuestionsI get a PHP notice for string to array conversion - help?
Hi, I am working through "Build your own database using php and mysql by Kevin Yank" I am using wamp, everything is working fine, when placing files produced and placing into the www root folder, however when naming a new folder and placing f
I don't have the dumps to study for the assessment. Is there any possibility I could pass in the assessment without copy pasting.. expecting a fast reply.. please reply asap! :)
I was learning about cookies and create a simple page to set a cookie as follow: Cookies when I check with firefox I can see that the cookie exist under the local host folder however when i want to cal
Hi i have a problem in joomla: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 120 bytes) in /home/tjasm/domains/mnlgorica.si/public_html/libraries/joomla/language/language.php on line 798 the php file line is if ($st