make the checkbox's names name[] rather than name and then access as an array in the recieving script.
eg
<?php
if(!isset($_POST['check'])) {
?>
<form method="post" action="<?=$_SERVER['PHP_SELF']?>">
<checkbox name="check[]" value="1" />
<checkbox name="check[]" value="2" />
<input type="submit" value="Submit" />
</form>
<?php
} else {
print_r($_POST);
}
?>
HTH
Bubble