PHP Questions Home
Creating PDFs
PHP Errors

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Web design

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


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.


More errors PHP Questions

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 get a parse error - unexpected ; at line x message. What is this?

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

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

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

Custom Search