My code is like this :
<?php
for($i=0;$i<5; $i++) {
?>
<div class="img-container">
test
</div>
<?php
}
?>
My code works in localhost, but in jsfiddle, it does not work.
I try in jsfiddle like this : https://jsfiddle.net/oscar11/5fjgsuds/
How can I solve this problem?