I guess where I am heading is that the results of the explode are email addresses and I am trying to send email to my group visitors using these email addresses. The only issue I have is that I need them to show up as individual emails without the entire group of email addresses showing up in the 'to' field. I seem to be missing something. I am not very fluent on the terminology either. This is the file as I have it now (not working)
<?php
$headers = "MIME-Version: 1.0\n" ;
$headers .= "From: $sender\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$emailtext1=nl2br("$emailtext1");
$headtext=nl2br("$headtext");
$footer=nl2br("$footer");
$more1=nl2br("$more1");
{
$emailtext1 = stripslashes($emailtext1);
$headtext = stripslashes($headtext);
$footer = stripslashes($footer);
$more1 = str_replace(" ", ",", $more1);
$more = explode(" ", $more1);
mail("$more[$x]","$headtext", "<font size='2' face='Verdana'>$emailtext1<br><br>$footer</font>", "$headers");
}
Print("Your message was succesfully sent to $more[$x]");
?>