I am working on a newsletter script for my website. The users register for one or more newsletters offered by my site and the data is sent to a process.php page which then sends out a confirmation email. The problem is it is only displaying results for one of the newsletters rather then all.
Please review the information below. If all the information is correct then click on the confirmation link to confirm your subscription.
You have subscribed to the following newsletters:
following that part of the email it should list all of the letters you subscribed to, but it only lists one.
my code for that looks like this.
$letter=$_POST['le[CODE]
tter'];
foreach ($letter as $letters)
{
echo "$letters </br>";
}[/CODE]
how can i get it to return all of the lists to the email instead of just one?