Include Digital sent you this email. To ensure you don't miss future email updates, please add digest@include-digital.com to your email address book or safe list. If this email does not display properly, please click here to view it in your web browser."; $footer = " Thank you for reading our digest. We respect your privacy and if you would like to unsubscribe from future Include Digital updates please do so by clicking here."; $subscribeInfo = "

To subscribe to the Include Digital digest, click here and enter your details.

"; // Replace any personalised content, and also the header and footer with the unsubscribe information. $file_contents = str_replace(array($header, $footer, "?name=%%FIRSTNAME%%&email=%%EMAIL%%", "%%FIRSTNAME:there%%"), array("", $subscribeInfo, "", "there"), $file_contents); // Output the html to the page. echo $file_contents; ?>