Shemphang Posted September 12, 2013 Share Posted September 12, 2013 Could somebody check and fix the error pls? Error: Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in C:\wamp\www\SHP\php_echo_print.php on line 12 code: <!DOCTYPE html > <html > <head> <title>php_echo_print</title> </head> <body> <?php echo "<h2> PHP is fun! </h2>"; echo "Hello World! <br>"; echo "I'm about to learn PHP!<br>" echo "This", " string", " was", " made", " with multiple parameters."; ?> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/282104-parse-error/ Share on other sites More sharing options...
Barrikor Posted September 12, 2013 Share Posted September 12, 2013 expecting ',' or ';' normally means that you missed a ; in the line before it tells you. look at the end of: echo "I'm about to learn PHP!<br>" Quote Link to comment https://forums.phpfreaks.com/topic/282104-parse-error/#findComment-1449253 Share on other sites More sharing options...
cataiin Posted September 12, 2013 Share Posted September 12, 2013 (edited) Forgot ; at the end of line 11. Edit: too late. Edited September 12, 2013 by cataiin Quote Link to comment https://forums.phpfreaks.com/topic/282104-parse-error/#findComment-1449254 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.