Is there a smart way of storing a whole page of html output as a variable?
I currently generate the page, and then cut and paste it into an email which is very labour intensive. If I could capture the page as a variable $the_missing_variable I could use this:
echo "<a href=\"mailto:$mail_address?subject=$sub_variable &body=$the_missing_variable\">E-mail this</a>";
The emails are quite long and contain links etc.
Thanks.