Эта кнопка посылает форму в тот же файл PHP. Не пойму как можно передать индех именно той строки, которую хотим удалить?
<table>
<tr>
<td><a href='customer_details.php?customer_id={$customer_details['id']}' target='_blank'>Edit</a></td>
<td><input type='submit' value='Delete'</td>
</tr>
<tr>
<td><a href='customer_details.php?customer_id={$customer_details['id']}' target='_blank'>Edit</a></td>
<td><input type='submit' value='Delete'</td>
</tr>
<tr>
<td><a href='customer_details.php?customer_id={$customer_details['id']}' target='_blank'>Edit</a></td>
<td><input type='submit' value='Delete'</td>
</tr>
<tr>
<td><a href='customer_details.php?customer_id={$customer_details['id']}' target='_blank'>Edit</a></td>
<td><input type='submit' value='Delete'</td>
</tr>
</table>