Advanced Users Code Generator

12 posts by 7 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 16, 2010   (RSS)

Re: [Dave] Advanced Users Code Generator

By Codee - July 16, 2010

another cool and very helpful option is if you had a checkbox to add (or not add) if/else statements around each data item.

example of checked:

<?php if ($nameRecord['title']): ?>
<?php echo $nameRecord['title'] ?>
<?php endif ?>

and of course, not checked:

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