Email Results of data collected

I have a site that has a form that collects data – The data then is sent to a page see here

If you look you can see check boxes next to each line item and a submit button at the bottom I would like the data in the line items to be sent to an people via email if I check some or all the boxes is there a way to do this. The data is saved into a database

I believe there need to be field for email address to send user selection to? As for php code, here is a quick example of how to implement this:
foreach($_POST[‘email’] as $key=>$val){
$mess.=($mess==’’?’’:’, ').$key;
mail($to_email,‘User selected checkboxes:’,$mess);

Sponsor our Newsletter | Privacy Policy | Terms of Service