IF statement, field empty

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

By dlsweb - December 12, 2012

<?php if ($record['link_for_more']): ?> <a href="<?php echo htmlencode($record['link_for_more']) ?>">See More</a>
<?php endif ?>

By gregThomas - December 13, 2012

Hi Larry,

That is what I was going to suggest, is it working correctly now?

Thanks
Greg Thomas







PHP Programmer - interactivetools.com