9 lines
289 B
PHTML
9 lines
289 B
PHTML
<!-- The $title and $users variables were passed from the controller -->
|
|
<h1><?= htmlspecialchars($title) ?></h1>
|
|
|
|
<ul>
|
|
<?php foreach ($users as $user): ?>
|
|
<li><?= htmlspecialchars($user['name']) ?> (<?= htmlspecialchars($user['email']) ?>)</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|