Aqui tienes un ejemplo completo, Suerte
Código PHP:
<?
if(isset($_POST['button'])){
foreach( $_POST['habilitar'] as $key => $value ) {
echo "Key: $key; Valor: $value<br>";
}
}
?>
Código HTML:
<html>
<head>
<title>Documento sin título</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<input name="habilitar[]" type="checkbox" id="asda" value="0" checked /> asdfasd<br />
<input type="checkbox" name="habilitar[]" id="asda" value="1" />asdfasd <br />
<input type="checkbox" name="habilitar[]" id="asda" value="0"/>asdfasd <br />
<input type="checkbox" name="habilitar[]" id="asda" value="0" /> asdfasd<br />
<input type="submit" name="button" id="button" value="Enviar" />
</form>
</body>
</html>