<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>
<?php foreach ($data as $key => $value) : ?>
<tr><td><?= $value['id'] ?></td><td><?= h($value['message']) ?></td></tr>
<?php endforeach ?></table></body></html>