ohctech_p8/delete_covid_test_result.php

17 lines
341 B
PHP
Raw Normal View History

2024-10-16 19:18:52 +05:30
<?php
include('includes/config/config.php');
$query="";
if(!empty($_REQUEST['id'])){
$query = " delete from covid_test_result_master where id = '".$_REQUEST['id']." ' ";
if (!$result = @mysqli_query($conn,$query)) {
2024-11-02 18:03:13 +05:30
die(mysqli_error($conn));
2024-10-16 19:18:52 +05:30
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>