Displaying Check Box Results in Email
Posted: Sat Dec 12, 2009 11:23 pm
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.
my code for that looks like this.
how can i get it to return all of the lists to the email instead of just one?
following that part of the email it should list all of the letters you subscribed to, but it only lists one.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:
my code for that looks like this.
Code: Select all
$letter=$_POST['letter'];
foreach ($letter as $letters)
{
echo "$letters </br>";
}