Codice PHP:
foreach($cb_scelta as $value){
$query2="INSERT INTO hobby_ut(Id_utente,Id_hb) VALUES ('$Cf', '$value')"