Code:
Array ( [0] => Array ( => [email]f.golle@googlemail.com ) [1] => Array ( => [email]f.golle@gmx.de ) )
Micronax
$result = mysql_query($sql) OR die(mysql_error());
while($row = mysql_fetch_assoc($result)) {
$recievers[] = $row;
}
foreach ($recievers as $mail) {
// Empfänger
$empfaenger = $mail;
// [...]
mail($empfaenger, $betreff, $nachricht, $header);
}
Kommentar