2024-10-16 19:18:52 +05:30
|
|
|
<?php
|
|
|
|
include('includes/config/config.php');
|
|
|
|
include ('includes/functions.php');
|
|
|
|
include ('log_entry.php');
|
|
|
|
|
|
|
|
$query="";
|
|
|
|
if(!empty($_REQUEST['flex_csr_id'])){
|
|
|
|
$query = "DELETE from csr_program where csr_id = '".$_REQUEST['flex_csr_id']."'";
|
|
|
|
error_log($query);
|
|
|
|
$queryQ = "DELETE from participate_csr_program where csr_id = '".$_REQUEST['flex_csr_id']."'";
|
|
|
|
error_log($queryQ);
|
|
|
|
// error_log($query);
|
|
|
|
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{
|
|
|
|
$resultQ = @mysqli_query($conn,$queryQ);
|
|
|
|
echo json_encode("SUCCESS");
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|