If statement

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 6, 2009   (RSS)

Re: [chassa2556] If statement

By Dave - January 6, 2009

Hi Charles,

Don't forget the endif. Like this:

<?php echo $record['title'] ?>

<?php if ($sectionRecord['content']): ?>
<a href="services_detail.php?<?php echo $sectionRecord['num'] ?>">See more &gt;&gt;</a>
<?php endif ?>

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com