PHPTriad and php error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi to all,
I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error "Parse error: parse error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10"

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<p>
<?php

echo “This is a PHP line”;
phpinfo();
?>
</body></html>

what is the reason?

p.s. phpinfo.php which comes with the installation executes correctly.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux