25 lines
501 B
PHP
25 lines
501 B
PHP
|
<?php
|
||
|
include('includes/config/config.php');
|
||
|
error_reporting(E_ERROR | E_PARSE);
|
||
|
|
||
|
$checkup_section_id=$_REQUEST['section_id'];
|
||
|
$query_checkup_section_move="";
|
||
|
if(!empty($checkup_section_id)){
|
||
|
$query_checkup_section_move="delete from checkup_form_section where section_id=$checkup_section_id" ;
|
||
|
|
||
|
if (!$result_bio_medical_waste = mysqli_query($conn,$query_checkup_section_move)) {
|
||
|
|
||
|
exit(mysqli_error($conn));
|
||
|
echo json_encode("FAILURE");
|
||
|
}else{
|
||
|
echo json_encode("SUCCESS");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
?>
|