NIM_E31220577/admin/rulehapus.php

8 lines
196 B
PHP

<?php
$koneksi->query("DELETE FROM rule WHERE idrule='$_GET[id]'");
echo "<script>alert('Data Berhasil Dihapus');</script>";
echo "<script>location='index.php?halaman=ruledaftar';</script>";
?>