    <h1>Form Untuk Menampilkan Hasil Ujian TPA</h1>
        <form style="border: solid;height: 100px;width: 500px;margin-left: 10px;margin-top: 30px;background: #33FF99" id="menu" name="menu" action="tampil.php" method="POST" enctype="multipart/form-data">
        <br><br>
        &nbsp;&nbsp;&nbsp;Nama Ujian
        <select style="cursor: pointer" required id="mpl" name="mpl" size="1">

         <option value="">Pilih Ujian</option>
<?php
include("koneksi.php");
$data = mysqli_query($koneksi,"select * from tpa_nonreg_result group by nama_ujian");
		$no = 1;

		while($d = mysqli_fetch_array($data)){
		?>


        <option value="<?php echo $d['nama_ujian']; ?>"><?php echo $d['nama_ujian']; ?></option>


        <?php
		}


 ?>
</select>
<input style="cursor: pointer" title="Klik disini untuk menampilkan hasil setelah memilih mapel." id="kirim" name="kirim" type="submit" value="LIHAT HASIL">
</form>