There could be a lot of "it depends" there, based on the current lack of details, one of which is how you'll figure out what value to set for which properties on each checkbox. At it's most basic, you might be doing something like:
foreach($checkbox_data as $name => $label) {
echo "<p><input type='checkbox' name='$name' id='$name'><label for='$name'>$label<label></p>\n";
}