/ Published in: PHP
Expand |
Embed | Plain Text
<?php for($i = 0;$i < 12; $i++): if($i % 4 == 0): ?> <div> <?php else: ?> <span> test </span> <?php endif; if( ($i+1) % 4 == 0): ?> </div> <?php endif; endfor; ?>
You need to login to post a comment.
