Stuck on if statements

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

By Mel - December 22, 2012

Problem solved found in the CMSB documentation

<?php if (!$my_sectionRecords): ?> No records were found!<br/><br/> <?php endif ?>

Hi Mel,

Sorry I didn't see your post. Glad you solved the issue.

Now you know that you can use the ! to indicate a "not" condition in any if statement.

Best for the holiday season...

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Mel - December 22, 2012

Hi Jerry,

Yes powerful stuff if statements, but my other posting in the forum is not so straightforward, still scratching my head on this one

"Stopping certain fields from displaying in all records"

Best wishes to you also

Mel