Re: Newsletter kindaa thing
| From: | John LYC | Date: | Wed, 21 Mar 2001 06:48:59 +0000 |
| Subject: | Re: Newsletter kindaa thing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44891@lists.php.net to get a copy of this message | ||
while($r=mysql_fetch_array($result)
$to .=$r['email'].",";
mail($to,....);
Dhaval Desai wrote:
> Hi@
>
> I have a database in whih I have a lot of emails. What
> I want to do is basically a small newsletter kindaa
> thing which is to be mailed to all the emails which I
> am goingto pick from the database.
>
> If I use
>
> while($r=mysql_fetch_array($result)
> {
> $email = $r['email'];
> }
> and then use the mail() function to email. It will
> just go to one person . I want it to go to all the ppl
> in the list.
>
> Thank YOu
> Dhaval Desai
>
> Thank yOu
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net