> <?php if ($a == 5): ?>
> A is equal to 5
> <?php endif; ?>
> I personally like it in cases as above where the block extends beyond
> the ending ?> tag.
Personally, I would think this syntax is just as easy to read/type, but
maybe I'm missing something:
<?php if ($a == 5) { ?>
A is equal to 5
<?php } ?>
--
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca