If statement = to list item

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 8, 2012   (RSS)

Re: [rgc] If statement = to list item

By (Deleted User) - February 8, 2012

Hi rgc,

You're close but you don't need the extra square brackets around the test value:
<?php if ( $record['status'] == 'Under Contract' ) : ?>
<tr>
<td colspan="2"class="burgundyFont" >UNDER CONTRACT</td>
</tr>
<?php endif; ?>


Let me know is that helps,

Tom

Re: [Tom P] If statement = to list item

By RGC - February 8, 2012

Thanks Tom .... your code did the trick!
Rod