echo '<td class="td_bg"><a href="all_parts_delete.php?id=' . $row['id'] . '" onclick="return confirm("Are you sure you want to delete it? ?") >Delete</a></td>';
echo '<td class="td_bg"><a href="all_parts_delete.php?id=' . $row['id'] . '" onclick="if(confirm(\'Confirm you want Delete?\')==false)return false;" >Delete</a></td>';
echo '<td class="td_bg"><a href="all_parts_delete.php?id=' . $row['id'] . '" onclick="if(confirm(\'Confirm you want Delete?\')==false)return false;" >Delete</a></td>';