barkster Posted August 30, 2006 Share Posted August 30, 2006 I'm trying to send out a bulk email and I have a page designed that I want to use as the body of the html. How do I set my body variable to the code of the page. I tried $body = include('page.php') but all that did was display my page. This has to be very simple. Thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 30, 2006 Share Posted August 30, 2006 Use file_get_contents if you wenat to store the content of the file in a variable. Quote Link to comment Share on other sites More sharing options...
barkster Posted August 30, 2006 Author Share Posted August 30, 2006 Thanks for the help just what I needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.