hello everyone:
I wrote this simple echo statement with in php code blcok. I got this parse erroe message in FireFox
browser.
Message says, "Parse error: parse error, unexpected ',' in C:\Program Files\ApacheGroup\Apache2\htdocs\exer\php_echo_statement.php on line 17"
I am not sure if this is syntax error, or it's due to coinfiguration of my php.ini file. Please help me trouble shoot the issue. Thanks!
I installed Apache 2.0.59,
PHP5.1.6 and MySQL 5.024a
My code are as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3. org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>php script block</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<!-- demo pass multiple argument to echo statement -->
<?php
line 17 -->echo ("Explore Africa,", " North America ", " and Australia!";);
?>
</body>
</html>