Re: [jposwald] If Selected then Show Image
Hi Juan,
First, display the value of the promotion field, I'll pretend it's called 'promotion' but your field might be called something else (and they are CaSe SeNsItIvE, so case matters).
'<?php echo $record['promotion']; ?>'
Say that displays 'Yes', copy that exact value into this code:
<?php if ($record['promotion'] == 'Yes'): ?>
... html you want to display here ...
<?php endif ?>
Hope that helps! Let me know how that works for you.
Dave Edis - Senior Developer
interactivetools.com