[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
htdocs
/
siami
/
auditor
/
[
Home
]
File: file-auditor-delete.php
<?php require '../koneksi.php'; session_start(); if (!isset($_SESSION["loginauditor"])) { header("Location: ../index.php"); } $id_file = $_GET["id_file"]; $query = "DELETE FROM ami_files WHERE id_file = $id_file"; $hapus = mysqli_query($conn, $query); if ($hapus) { echo "<script type='text/javascript'> alert('Data berhasil dihapus...!'); document.location.href = 'file-auditor.php'; </script>"; }