Jump to content

Shemphang

Recommended Posts

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>
 
Link to comment
https://forums.phpfreaks.com/topic/282104-parse-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.