I am running PHP 4.3.10.10, WinXP/IIS and I have been using some code examples from the book, "PHP/mySQL Bible". There is an example where they use the following script to format/render the html. This eliminates having to use the echo or print statement:
<?php
// Now lay out the page
// --------------------
$page_str = <<< EOPAGE
<html>
<head>
<title>PHP</title>
</head>
<body>
<div align="center">
<!-- place a variable in the query string 'bub=variableName' -->
Test the code for $_GET[bub]
</div>
</body>
</html>
EOPAGE;
echo $page_str;
?>
Evidently '$page_str = <<< EOPAGE' in conjuntion with 'EOPAGE;' and 'echo $page_str;' eliminate the need for an echo statement. All I know is that it works.
Can anyone elaborate on this? Any feedback is greatly appreciated.