I get a parse error - unexpected ; at line x message. What is this?
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
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 wrI 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
Is it possible to create php programs and view them if my operating system is DOS, not unix? Whether I create a DocumentRoot of C:\public_html, or C:/public_html, in my httpd.conf file, the result is: When go to http://127.0.0.1, I see: Index of
I have 2 forms in one website... What do I name the php files for each form? The first php file is named: send_form_email.php, what do I name the second, or do they both go in the same php file?
I get a PHP warning for array to string conversion - what is this?
