[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
siami
/
auditor
/
[
Home
]
File: foto-hapus.php
<?php require '../koneksi.php'; session_start(); if (!isset($_SESSION["loginauditor"])) { header("Location: ../index.php"); } $id_foto = $_GET["id_foto"]; $query = "DELETE FROM ami_foto WHERE id_foto = $id_foto"; $hapus = mysqli_query($conn, $query); if ($hapus) { echo "<script type='text/javascript'> alert('Foto berhasil dihapus...!'); history.go(-1); </script>"; }