Ver original$check = $_POST['seleccion']; if($check == ''){ echo 'error, no seleccionaste una opcion';else{ foreach($check as $c){ echo $c; }}