Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // koneksi
- require_once "config/koneksi.php";
- $id = @$_GET['id'];
- // echo $id;
- mysqli_query($con, "DELETE FROM komentar WHERE id = '$id'") or die(mysqli_error($con));
- echo "<script>alert('Data berhasil dihapus.'); window.location = 'bk-tamu.php';</script>";
Advertisement
Add Comment
Please, Sign In to add comment