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'];
};
$to = '';
while ($blah = mysql_fetch_row($ref)) {
$to =+ $blah['address'];
};
Be careful however. Most SMTP servers has a limit on the number of
recipients you can send one email to. It's a very easy way to trigger spam
alerts and stuff.
--
me
- Original Message -
From: "Roger Lewi
4 matches
Mail list logo