ESH/delete_vaccination_details.php

19 lines
412 B
PHP
Raw Permalink Normal View History

2024-10-23 18:28:06 +05:30
<?php
include('includes/config/config.php');
include('log_entry.php');
$query="";
if(!empty($_REQUEST['id'])){
$query = " delete from vaccination_details where id = '".$_REQUEST['id']."' ";
error_log('delete vaccination_details: '.$query);
if (!$result = @mysqli_query($conn,$query)) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>