Re: [PHP] Newsletter kindaa thing

2001-03-20 Thread David Robley
On Wed, 21 Mar 2001 17:01, 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_a

Re: [PHP] Newsletter kindaa thing

2001-03-20 Thread John LYC
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

[PHP] Newsletter kindaa thing

2001-03-20 Thread Dhaval Desai
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()