Evening
I've only touched the surface when it comes to php.
When ever I've done an if function I've always done it like so..
I noticed in the templates that all if functions are written like..Code:<?php if (blblbl) { ?> <div>template stuff</div> <?php } ?>
Can someone explain the differences between the 2 and if there is an advantage of using one over the other?Code:<?php if (blablabla) : ?> <div>template stuff</div> <?php endif; ?>
Bookmarks