I've just developed a function to do just what you need.
in your form do this
<input type="checkbox" name="month[]" value="jan">
<input type="checkbox" name="month[]" value="feb">
<input type="checkbox" name="month[]" value="mar">
etc.....
Then on the next page include this function:
function getcheckboxes ($checkbox)
{
foreach($checkbox as $value) {
$values .= "," . $value;
}
$values = substr($values, 1);
return($values);
}
Now to get the values of the ticked check boxes all you have to do is call the function with the appropriate argument....in this case $month.
$result = getcheckboxes($delete);
$result will now conatin the string "jan,feb,mar" or sumthin different depending on which boxes were ticked.