hey all,
usually I can use Actionscript to work my way through a problem. However, now I'm stuck with php because I need to send an email from a website.
I have everything down pat, i can send an email to any address, even one specified dynamically through flash. but now I'd like the email to have multiple dynamic addressee's. (sp?)
I can get flash to send an array of the different recipients. I just don't know how to get php to take that variable, which right now displays as a list with commas separating the values, to an array where I can pull each one, one by one, and send them an email.
can anyone help? i have this code so far, and it doesn't work....
<?
$ToEmail = "andy@hotmail.com";
$ToName = "Subscriber";
$ToSubject = "arrayCatcher";
$tester = $_GET['myArray'];
$emailBody = $tester[1]
mail($ToEmail, $ToSubject, $emailBody, $ToName);
Print "Complete - Your mail has been sent";
?>
thanks for the help!
andy