Para poder poner un nombre a todos los checkbox sin saber la cantidad te sugiero usar array. Me refiero
Código php:
Ver original<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
<input type="checkbox" name="chk[]" />
Cuando los llames en la otra pagina solo tienes que llamarlos por el array me refiero. Vamos a suponer que pasas los datos por el metodo de post y con la variable $_POST las recoges
Código php:
Ver original$_POST["chk"][0]
$_POST["chk"][1]
$_POST["chk"][2]
$_POST["chk"][3]
$_POST["chk"][4]
$_POST["chk"][5]
$_POST["chk"][6]
$_POST["chk"][7]
$_POST["chk"][8]
$_POST["chk"][9]
Claro en vez de declarar el numero tu lo haces en un loop, sea WHILE, FOR o FOREACH