I like to use single quotes when echoing something so I don't have to look at the backslashes in HTML attributes. I recently came across this method of doing it, which seems to eliminate the echo statments, single-quotes, and backslashes...and was wondering if this is deprecated, not fully supported or what's the story on it?
Any insight is appreciated,
Thanks
Code:print <<<BLOCK <form method="post" action="{$_SERVER['PHP_SELF']}"> <input type="text" name="SomeVar" value="{$_POST['someVar']}" /> <input type="submit" name="submit" value="submit" /> </form> BLOCK;




Bookmarks