Hi
I use an email function to send emails however i need it to contain some contents of an array & not sure the best way to go about it, if anyone can help please?
partial of code ...
$message = "
text of email
*** Need to run a foreach results here ***
text of email
";
$headers = "From: $noreply \r\n" .
"Reply-To: $noreply \r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);