PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

Parse error in PHP - unexpected T_variable at line x. What is this error?


This is a syntax error, meaning that there is something in your code stopping it from being parsed correctly and therefore run.

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

Hello There...I'm Having This Error which says Parse error: parse error in C:\Program Files\xampp\htdocs\WebFolder\page.php on line 914 BUT that line of code doesn't exist in my programme.Can anybody HELP me? Pleaseee.... p/s:-By The Way, I'm Usi

what is the latest release version of PHP.

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

I get a PHP warning for array to string conversion - what is this?

I get the error message headers already sent, what does this mean?



Custom Search