<?php $a = array(1, 2, 3, 4); $b = 10; ?> <h1>PHP templates</h1> <ul> <?php foreach($a as $value): ?> <li><?=$value?></li> <?php endforeach ?> </ul> <?php if($b<10): ?> b hamar baño txikidxaue da: <?=$b?> <?php elseif($b==10): ?> b hamar da: <?=$b?> <?php else : ?> b hamar baño handidxaue da: <?=$b?> <?php endif ?>