<?php
require '../koneksi.php';
$id=$_GET['id'];

$sql=mysql_query("delete from pengaduan where id_pengaduan='$id'");

if ($sql)
{
    ?>
    <script type="text/javascript">
        alert ('Data Berhasil Dihapus');
        window.location='admin.php?url=lihat_pengaduan';
    </script>
    <?php
}
?>