आपको डिलीट लिंक में वेरिएबल पास करना होगा। आपको <?php echo $contact['name']; ?> छिपे हुए फ़ील्ड में नाम मान या URL . में इस मान को पास करें
बदलें
<td class="contact-delete">
<form action='delete.php' method="post">
<input type="hidden" name="name" value="">
<input type="submit" name="submit" value="Delete">
</form>
</td>
साथ
<td class="contact-delete">
<form action='delete.php?name="<?php echo $contact['name']; ?>"' method="post">
<input type="hidden" name="name" value="<?php echo $contact['name']; ?>">
<input type="submit" name="submit" value="Delete">
</form>
</td>