Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- foreach($listFacility as $f) {
- $facility_id = $f->facility_id;
- ?>
- <div class="checkbox checkbox-primary">
- <input type="hidden" name="id[]" value="<?php echo $facility_id; ?>"/>
- <input type="checkbox" value="1" name="check[<?=$facility_id;?>]" <?php if ($f->facility_check == 1) { echo 'checked'; } ?>>
- <label ><?php echo $f->facility_name; ?></label>
- </div>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement