Scusa, mi sono sbagliato, il codice giusto dovrebbe essere questo:


<input name="nomecampo[]" type="checkbox" value="$variabile">