Hi!


This is my code for sending email to all the emails in
my database:

$connect = mysql_connecT();
$query = "select email from table";
$execute = mysql_db_query("database", $query);

while($r=mysql_fetch_array($execute))
{
$email .= $r('email')

mail("$email", "My Subject", "Line 1\nLine 2\nLine
3");
}



Will this send email to all the emails in the
database?
Is there any otehr wya of doing it?


Thank You

Dhaval Desai


__________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to