Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. what's the code meaning? [closed]
  2. <?php if ($i>3): continue; endif; ?>
  3.        
  4. <?php if ($i>3) { continue;} ?>
  5.        
  6. <?php if ($foo == 'bar'): ?>
  7. <div>
  8.     ...
  9. </div>
  10. <?php endif ?>
  11.        
  12. <?php if ($foo == 'bar') { ?>
  13. <div>
  14.     ....
  15. </div>
  16. <?php } // after a few nested sets, these get hard to follow when there is a lot of html scattered throughout ?>
  17.        
  18. <?php if ($i > 3): ?>
  19.     [ some HTML here ... ]
  20. <?php endif; ?>