If statement with checkbox multivalue...

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 11, 2013   (RSS)

By crazyfish - April 9, 2013

Greetings,

I'm trying to add an IF statement to show or not show a button.

        <?php if ($staffRecord['section'] == 'Makeup'): ?> 
<?php endif ?>

If the checkboxes ( multivalue ) in a list - named 'section' is checked to 'makeup' don't show anything, otherwise if the section is any other checkbox show the button code. 

I seem to be missing a critical item in my programming here....  explode?  join?  take a php class?

As always, thanks for your help,

Sean

By crazyfish - April 11, 2013

Thank you!