HappyWorld
Well-known member
How to create "for" loop within template? I only see "foreach" loop example.
I have an integer variable called $a which has a numeric value.
I want to do something on template like
I have an integer variable called $a which has a numeric value.
I want to do something on template like
PHP:
<?php for ($i = 1; $i < $a; $i++) : ?>
<b>Hello World</b>
<?php endfor; ?>