Hello,
I recently the following code on an online tutorial
<ol>
<?php foreach($todo as $item): ?>
<li><?=$item?> </li>
<?php endforeach;?>
</ol>
Could someone tell me why the list printed even though the whole thing is not contained within a single php bracket : <?php .... ?>. Thank you.