I am sending an HTML formatted email message. I have a database results page that PHP outputs with imbedded images. I know I can go back into my (very complicated) code and everywhere I write HTML, I can also write the same to a variable - but isn't there an easy way to just "catch" everything that's heading to the browser?
Currently, I can get the result page, save it manually, edit the path names for the images back to the original and then send the file in HTML format - no troubles with the mailing.
I can also capture some of the HTML into a variable and send that - no troubles there.
If I can't catch my output on its way to the browser, then I will have to go into my header, my content, my database results, my footer and write PHP to catch everything into a variable. I'm just hoping there's an easier way.
Thanks,
/Wendy
Currently, I can get the result page, save it manually, edit the path names for the images back to the original and then send the file in HTML format - no troubles with the mailing.
I can also capture some of the HTML into a variable and send that - no troubles there.
If I can't catch my output on its way to the browser, then I will have to go into my header, my content, my database results, my footer and write PHP to catch everything into a variable. I'm just hoping there's an easier way.
Thanks,
/Wendy