I changed the code as follows:
<html>
<head>
<title>php test
</title>
</head>
<body>
<?php phpinfo ?>
<?php
echo "<p>Hi, I am a PHP script</p>";
?>
<p>
this is a test
</p>
</body>
</html>
The result (http://localhost/test.php):
Hi, I am a PHP script
"; ?>
this is a test
If I use single quotes characters:
Hi, I am a PHP script
'; ?>
this is a test
The phpinfo instruction does not seem to be recognised. What else
should I check?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php