new to PHP. Just having some frustrating problems with heredoc, despite following the book to the letter on syntax. The below text isn't indented as it should be.
<?php
$text="Mike's";
echo <<<_END
<!--END is just like double quoteing a var..
You can use single/double quotes without having to escape them first; inside
END. The last _END tag, has to be on the start of new line with nothing allowed
to procede it, not even whitespace-->
This is the $text 'first line'.
This is the $text 'second line'.
This is the $text 'third line'.
_END;
?>