Question: how to display selected checkbox value in php?
Answer: php if(empty($_POST['day'])){ echo "none of the boxes were checked"; }else{ $N = count($_POST['day']); echo("You selected $N door(s): "); for($i=0; $i < $N; $i++){ echo($_POST['day'][$i] . " "); } } ?>