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

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

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

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

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

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



Custom Search