<?php
include "config.php";


          $delete1 = mysqli_query($connect,"Update tbl_employee_qualification set  fld_emp_qualification_delete='1' where fld_emp_id='".$_GET['fld_emp_id']."' ")or die(mysqli_error($connect));

          

$back="javascript:history.back()";
  if($delete1)

          {
            echo '<script type="text/javascript">';
            echo "alert('Qualification Deleted');";
            echo 'window.location.href = "view_emp_quali.php";';
            // echo 'window.location.href = "'.$back.'"';
            echo "</script>";

          }
         else
         {
            echo '<script type="text/javascript">';
            echo "alert('Qualification Not Delete');";
            // echo 'window.location.href = "'.$back.'"';
            echo 'window.location.href = "view_emp_quali.php";';
            echo "</script>";
             
             }

             ?>