- what's the code meaning? [closed]
- <?php if ($i>3): continue; endif; ?>
- <?php if ($i>3) { continue;} ?>
- <?php if ($foo == 'bar'): ?>
- <div>
- ...
- </div>
- <?php endif ?>
- <?php if ($foo == 'bar') { ?>
- <div>
- ....
- </div>
- <?php } // after a few nested sets, these get hard to follow when there is a lot of html scattered throughout ?>
- <?php if ($i > 3): ?>
- [ some HTML here ... ]
- <?php endif; ?>