[PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Tom Chubb
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

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Tom Chubb
Chubb [EMAIL PROTECTED] To: [php] PHP General List php-general@lists.php.net 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 result into a variable for sending using mail in a script. I have a script

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Tom Chubb
] To: [php] PHP General List php-general@lists.php.net 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 result into a variable for sending using mail in a script. I have a script which creates

Re: [PHP] HTML Mail script reading text from MySQL

2006-06-02 Thread Rabin Vincent
On 6/2/06, Tom Chubb [EMAIL PROTECTED] wrote: What I meant is say a page outputs an HTML table eg: table width=100 cellspacing=0 cellpadding=0 [snipped] /table 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