delete record without a page refresh with ajax in php code example
Example: delete record without a page refresh with ajax in php
<tr data-image-id="<?php echo $r1['photo_id']; ?>">
After deleting data, run this cammand:
$("tr[data-image-id="+del_id+"]").remove();