I have a phpBB2 and wants to make a mailform, that will send out a mail to all the mail adresses from the mysql. (about 60 mail adresses)
I have found this code, that retrieves all the mail adresses, but i don't know how to combine it with a mail form...(i'm not capable at making anything in PHP myself
)
mysql_connect("localhost","********","********");
mysql_select_db("hakom");
$query_result = mysql_query("SELECT user_email FROM phpbb_users");
while ($query_array = mysql_fetch_array($query_result)){
echo $query_array["user_email"] . '<br>';
}
Hope you can help.
//baek

