Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "koneksi.php" ;
- $id = $_GET['no'];
- $meella = mysql_query("DELETE FROM arsip WHERE id_arsip = '$id'");
- if ($meella) {
- echo "<script>alert('Hapus data berhasil!'); window.location = 'halamanarsip.php'</script>";
- }else{
- echo "<script>alert('Gagal hapus data!'); window.location = 'halamanarsip.php'</script>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment