html>
<head>
<title>
Displaying text from PHP
</title>
</head>
<body>
<h1>
Display text from PHP
</h1>
Here's what PHP has to say:
<br>
<br>
<?php
echo <<<END
This example uses
"here document" syntax to display all
the text until the ending token is reached.
END;
?>
</body>
</html>
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_END_HEREDOC or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in C:\Program Files\EasyPHP-5.3.3\www\phphere.php on line 23
Where I've made wrong? please advise! Thank you.