$k) && ($row{$rr} == "N")) $row{$rr} = "R"; else continue; if (($rl < $k) && ($row{$bd} == "N")) $row{$bd} = "B"; else continue; if ($row{$bl} == "N") $row{$bl} = "B"; else continue; if ($row{$q} == "N") $row{$q} = "Q"; else continue; $combinations[$row]++; } } } } } } printf ("There are %d separate entries in combinations
\n", count($combinations)); print_r ($combinations); ?>