I agree with Edwin on this one.

What's the <<< for??

Could it be you want to be doing this:

$templatestring = include("/pathto/email_template.php");

$message = "<<<HTMLMESSAGE".$templatestring."HTMLMESSAGE";

??

When you "include()" a file with PHP, it DOES parse the included file
(although in the included file, anything not between "<?php" and "?>" tags
will be considered plain text.  Put another way: Even though the "include"
statement in the main document is ALREADY between PHP tags, the parser looks
for an opening PHP tag in the included file to find where to begin parsing -
anything before that opening tag is echo'ed out as plain text).

Hope this helps!

Take care,

--Noel


-------------------------------------------
"Daevid Vincent" <[EMAIL PROTECTED]> wrote in message
006801c2b88d$69748a60$0801a8c0@telecom">news:006801c2b88d$69748a60$0801a8c0@telecom...
> I've posted this a few weeks ago with no response. I want to use an
> external
>
> $message = <<<HTMLMESSAGE
>   include("/pathto/customer_email.php");
> HTMLMESSAGE;
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to