On Sat, 17 Aug 2002 20:10:02 -0700
"Roger Lewis" <[EMAIL PROTECTED]> wrote:
> My problem is how do you create the variable, $to, from the MySQL table so
> that it contains all of the addresses separated by commas.
Daren Cotter [mailto:[EMAIL PROTECTED]] responded
Saturday, August 17, 2002 8:42
on 18/08/02 2:20 PM, Roger Lewis ([EMAIL PROTECTED]) wrote:
> Thanks for the quick responses from Chris, Daren, and Kevin. I didn't know
> so many would be up Sat night.
It's not Saturday night everywhere :)
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
al Message-
From: Chris Knipe [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 17, 2002 8:37 PM
To: Roger Lewis; Php-General
Subject: Re: [PHP] How Can I Generate an Email List from a MySQL Table
$to = '';
while ($blah = mysql_fetch_row($ref)) {
$to =+ $blah['address'];
};
essage -
From: "Roger Lewis" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Sunday, August 18, 2002 5:10 AM
Subject: [PHP] How Can I Generate an Email List from a MySQL Table
> I have a MySQL table named "users" in which there is a colu
I have a MySQL table named "users" in which there is a column named
"email_address" and another named "is_subscribed". I would like to send an
email to all of the addresses for which "is_subscribed" is true. I think I
know how to send the email, i.e.,
mail($to, $subject, $message, $headers);
I
5 matches
Mail list logo