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

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 need to set the object variable at run time, it is working, but PHP returns me: Creating default object from empty value (/sct/fw FW_List.class.php:1142) function set Template (&$object, $tpl_names){ foreach($tpl_names as $tpl_type) { $

when i run this script

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:

I get a Parse error on my login page... need some help please!



Custom Search