Multiple Check box list

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 23, 2009   (RSS)

Re: [MRI] Multiple Check box list

By Chris - November 20, 2009

Hi MRI,

You can either add a second IF block, or an OR clause to the condition, as I've added below in red:

<?php foreach ($promotions_managerRecords as $record): ?>
<?php if (strpos($record['category'], 'Simulcast Racing') || strpos($record['category'], 'Live Racing')): ?>
<li><a href="../rewards/promotions.php#<?php echo $record['num'] ?>"><?php echo $record['title'] ?></a></li>
<?php endif ?>
<?php endforeach; ?>


I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Multiple Check box list

By MRI - November 23, 2009

perfecto!! thanks