hi, I have tried to send single to php to delete items from html but is seemed to me is not sending to delete it and there is no errors at all can you see code what did i missed!

in body

HTML Code:
  <td width="12%" align="center"><input type="submit" name="yesdelete" id="deleteid" value="Submit" />
in php

PHP Code:
<?php
if (isset($_POST['yesdelete'])) {
//////////////////////////////////////////////////////////
// remove item from system and delete its picture
// delete from database
//////////////////////////////////////////////////////////
    
    
$id_to_delete $_GET['yesdelete'];
    if (
$id_to_delete $mysqli->query("DELETE FROM product WHERE product_id='$id_to_delete' LIMIT 1"))
/////////////////////////////////////////////////////////////
// unlink the image from server
// Remove The Pic -------------------------------------------
/////////////////////////////////////////////////////////////
    
    
$pictodelete = ("../product_images/$id_to_delete.jpg");
    if (
file_exists($pictodelete)) {
                   
unlink($pictodelete);
    }
    
header("location: product-copy-4.php"); 
    exit();
}
?>