PHP HTML variable
- by Abakiz Myth
In Coldfusion we have the variable:
<cfsavecontent name="HTML_content">
<div class="test_div" style="color:#FFF;">Test</div>
</cfsavecontent>
Within PHP there seems to be no way of doing this without some really hacky function or escaping double quotes. I'm trying to create emails (large html documents) within the same page by saving the email content and simply mailing it but it seems like there's no way of doing this within PHP without using $var = "\"crap\"";
Can somebody point me in the right direction?