File "pending-deposit-delete.php"

Full Path: /home/quiczmwg/lightspringdigitals.com/admin/pending-deposit-delete.php
File size: 547 bytes
MIME-type: text/x-php
Charset: utf-8

<?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');
    };