You should use this:

```html+php
<?php foreach($fortunes as $fortune): ?>
    <tr>
        <td><?php echo $view->escape($fortune['id']); ?></td>
        <td><?php echo $view->escape($fortune['message']); ?></td>
    </tr>
<?php endforeach; ?>
````