Name:

Email Address:

Your role(s) are

'; //using a foreach loop will return all values within the checkboxgroup with values. foreach($_POST['checkboxGroup'] as $role) {//the below code will print the selected check boxes on to the screen. echo '

'.$role.'

'; } ?>

Your selected dietary requirements: