On 6/2/06, Tom Chubb <[EMAIL PROTECTED]> wrote:
What I meant is say a page outputs an HTML table eg:
[snipped]
But I want to get that code into the $message variable.
I have written many mail scripts before it's just getting the data into the
variable.
Should I be using something like CURL?
;;
>
> $headers = "From: [EMAIL PROTECTED]" .
> "Reply-To: [EMAIL PROTECTED]";
>
> //send email
> mail($mail_to, $subject, $message, $headers);
> ?>
>
>
> HTH,
>
> Mark Cain
>
> - Original Message -----
> From: "Tom Chubb"
Mark Cain
- Original Message -
From: "Tom Chubb" <[EMAIL PROTECTED]>
To: "[php] PHP General List"
Sent: Friday, June 02, 2006 10:59 AM
Subject: [PHP] HTML Mail script reading text from MySQL
>I can't work out how to load the text from a recordset resul
I can't work out how to load the text from a recordset result into a
variable for sending using mail in a script.
I have a script which creates a dynamic table then I want to load the
table's HTML into a variable which will be echoed in the mail function.
I can't work out how to do this.
I've trie
4 matches
Mail list logo