se va bene il checkbox ecco il codice :
Codice PHP:
<?
$sql 
"SELECT giocatore.Id as id, giocatore.Nome as nome, giocatore.Cognome as cognome
FROM
squadra,giocatore
WHERE
squadra.CodiceFip = giocatore.CodiceFip and squadra.Denominazione = 'Basket Manciano'"
;

$result mysql_query($sql);

if (!isset(
$_POST['do_gamer'])) {
$table "<table border=\"1\">\n";
$i 0;
$table .= "<form action=\"\" method=\"POST\">";
while (
$row mysql_fetch_array($result))
     {
        
$table .= "<tr>\n";
        
$table .= "<td>\n<input type=\"hidden\" name=\"nome\" value=\"" $row['nome'] . "\"></td>\n";
        
$table .= "<td>\n<input type=\"hidden\" name=\"cognome\" value=\"" $row['cognome'] . "\"></td>\n";
        
$table .= "<td>\n<input name=\"giocatore[]\" type=\"checkbox\" value=\"" $giocatori[$i] . "\">" $giocatori[$i] . "</td>\n";
        
$table .= "</tr>\n";
        
$i++;
     }
$table .= "<input name=\"do_gamer\" type=\"submit\" value=\"Aggiungi giocatore a mysql\"></form>\n";
$table .= "</table>\n";
echo 
$table;
}
else {
$selected_gamer $_POST['giocatore'];
$nome $_POST['nome'];
$cognome $_POST['cognome'];
for(
$i=0;$i<sizeOf($selected_gamer);$i++){
   
$sql mysql_query("INSERT INTO giocatore SET campo='" $selected_gamer[$i] . "'");
}
$sql mysql_query("INSERT INTO giocatore SET name='$nome', cognome='$cognome'");
}
?>
potrebbero esserci degli errori lo ho fatto di fretta giusto per darti l'idea
ciao