I am trying to do a check to find out if variables match and if they do match show this.
Here is what I have so far.
<?php $CurrentCCVideo = (@$_REQUEST['content_creator_videos']) ?>
<?php
list($ccvRecords, $ccvMetaData) = getRecords(array(
'tableName' => 'videos',
'loadUploads' => true,
'allowSearch' => false,
));
?>
<?php foreach($ccvRecords as $record) : ?>
<?php if (($CurrentCCVideo = $record['num'])==TRUE) : ?>
<label class="margin-top-10"><?php echo($record['title']) ?> is selected</label>
<input type="checkbox" class="form-control input-lg" name="meta_keywords" onClick="dosomething" value="0">
<?php else : ?>
<label class="margin-top-10"><?php echo($record['title']) ?></label>
<input type="checkbox" class="form-control input-lg" name="meta_keywords" onClick="dosomething" value="0">
<?php endif ?>
<?php endforeach ?>
Aucun commentaire:
Enregistrer un commentaire