<?php
 include("../conn.php");
 if (isset($_POST['submit'])) {
     $id=$_POST['id'];
   
 
     
     $sql= "DELETE FROM  `tax` WHERE id='$id'";
     $query_run = mysqli_query($conn, $sql);
         
         
     if($query_run){
     echo"<script>alert('Tax Deleted'); window.location='../general_settings'</script>";
     }
     }
 
       ?>