Created
June 9, 2014 01:22
-
-
Save oriolrivera/ff3075af702265daba05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ($viewInclude as $vIN) { | |
foreach ($viewIncludeEdit as $vIE) { | |
if ($vIE["includes_place_rel_id"]==$vIN["id_includes"]) { | |
?> | |
<div class="col-md-6"> | |
<input type="checkbox" name="inclu[]" style="margin:5px" value="<?php echo $vIN["id_includes"]; ?>" checked> | |
<?php echo $vIN["name_includes"]; ?> | |
</div> | |
<?php | |
}else{ | |
?> | |
<div class="col-md-6"> | |
<input type="checkbox" name="inclu[]" style="margin:5px" value="<?php echo $vIN["id_includes"]; ?>"> <?php echo $vIN["name_includes"]; ?> | |
</div> | |
<?php | |
} | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment