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

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

I get a parse error - unexpected ; at line x message. What is this?


This means that there is a syntax error in your PHP - you have not written valid code.

Typically you may have placed either two semi-colons at the end of a line or placed one where there shouldn't be. If you have been using echo or print statements then you may not have closed the print statement correctly.

It is quite a descriptive error so you know where it is, but you may need to look at the surrounding lines to see if something there is what is causing the parse error.

Comment on this Question and Answer >>>

ASK A QUESTION

More errors PHP Questions

what is the latest release version of PHP.

I get this error every time I execute a php program. PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0

PHP error - use of undefined constant at line x... what does this mean?

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

I get a PHP notice for string to array conversion - help?



Custom Search