<?php include_once ("../_db.php"); @session_start(); // if (isset($_GET['delete'])){ $delete_id = $_GET['delete']; $delete_query = mysqli_query($conn, "DELETE FROM nft_deposit WHERE id = $delete_id ") or die('query failed'); if ($delete_query){ header('location: deposit_pending.php'); $message[] = 'Transaction has been deleted'; } else { header('location: deposit_pending.php'); $message[] = 'Transaction could not be deleted'; // header('location: service-details.php'); };