Editing: hms.php
Kembali
<? $ckb = $_GET['ckb']; $hid = $_GET['id']; $dateP = date('Y-m-d'); $lat= $_GET['lat']; $lng= $_GET['lng']; include ("koneksi.php"); $conn->query ("delete from message where idP=$hid or idD=$hid"); $result=$conn->query ("delete from pickup where idP=$hid or idD=$hid" ); if (!$result) { die('Invalid query: ' . mysql_error()); header("location:.?id=".$hid."&idr=&lat=".$lat."&lng=".$lng); } header("location:.?id=".$hid."&idr=&lat=".$lat."&lng=".$lng); ?>
SIMPAN PERUBAHAN