Hi im wondering if someone can help me i have a checkbox options to choose more than one item and ive done the html bit one the registration page for the php i have this bit that i think needs to go in the profile page but when i do that i get the following
you have selected:
if(!empty($_POST['check_list'])) {
//for each Loop to display checkbox items.
foreach($_POST['check_list'] as $value) {
echo "<h3>".$value ."</h3>";
}
}
else{
echo "<h3>No checkbox option is selected.</h3>";
}
and if i put in in the register page i get the following:
option1 << which have been changed due to the adult options
option2
option3
Warning: Cannot modify header information - headers already sent by (output started at /home/jktempla/public_html/registration3.php:13) in /home/jktempla/public_html/registration3.php on line 69
What would the solution to this be ty jan x