RE: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-18 Thread Roger Lewis
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 PM

Re: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-17 Thread Chris Knipe
$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

RE: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-17 Thread Roger Lewis
- 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']; }; Be careful however. Most SMTP

Re: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-17 Thread Justin French
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,