Skip to content

Instantly share code, notes, and snippets.

@birkir
Created September 30, 2010 10:35
Show Gist options
  • Save birkir/604373 to your computer and use it in GitHub Desktop.
Save birkir/604373 to your computer and use it in GitHub Desktop.
<html>
<?php if ($item == TRUE): ?>
<div id='test'>
<?php foreach ($items as $item): ?>
<?php echo 'foobar'; ?>
<?php endforeach; ?>
</div>
<?php endif; ?>
</html>
<html>
<?php if ($item == TRUE): ?>
<div id='test'>
<?php foreach ($items as $item): ?>
<?php echo 'foobar'; ?>
<?php endforeach; ?>
</div>
<?php endif; ?>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment