PHP beginner |
|
<?php
$emails = file_get_contents("emails.txt") ;
$emails2 = explode (";", $emails);
$subject = "beste leden" ;
$bericht = "test";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers.= 'Content-type: text/html ; charset=iso-8859-1' . "\r\n";
mail($to,$subject,$bericht,$headers) ;
?>
<?php $subject = "beste leden" ; $bericht = "test"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers.= 'Content-type: text/html ; charset=iso-8859-1' . "\r\n"; mail($to,$subject,$bericht,$headers) ; ?>
heb ik nu maar snap foreach niet helemaal, uitleg astublieft!! |