Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Hello.I have a table with login details which hold email address.How can I send out a group email to everybody from this table?Thanks
Here is the code snippet you can use:
$subject = "";$message = "";$toAddr = "";$sql = SELECT DISTINCT email FROM members;$result = mysql_query($sql);while ($row = mysql_fetch_row($result)) { $toAddr .= "$row[0]"; mail($toAddr,$subject,$message);}