Something
public text v1 · immutable$array = array('stuff','morestuff','somemore');
$count = count($array);
$r=1;
while($r <= $count) {
echo '<td><input type="checkbox" name="options[]" value="'.$array.'" /><span>'.$array.'</span></td>';
if($r++%4==0) {
echo '</tr><tr>';
}
}