<h3>Laporan Pendaftar PPDB</h3>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
  <tr>
    <th>ID</th>
    <th>Nama Lengkap</th>
    <th>Jenis Kelamin</th>
    <th>No HP</th>
  </tr>
  <?php foreach($pendaftar as $p): ?>
  <tr>
    <td><?= $p['id'] ?></td>
    <td><?= $p['nama_lengkap'] ?></td>
    <td><?= $p['jenis_kelamin'] ?></td>
    <td><?= $p['no_hp'] ?></td>
  </tr>
  <?php endforeach ?>
</table>
