csrtechnew.ohctech.in/delete_schedule_list.php

31 lines
875 B
PHP
Raw Normal View History

2025-04-14 13:28:09 +05:30
<?php
include('includes/config/config.php');
include ('includes/functions.php');
include ('log_entry.php');
error_log ( "Start Printing Request Attributes" );
$requestStr="";
foreach ( $_REQUEST as $key => $value ) {
$requestStr.=$key . " : " . $value . "\n";
error_log ( $key . " : " . $value . "<br />\r\n" );
}
error_log ( "End Printing Request Attributes" );
save_log($requestStr,'delete schedule list','DELETE','delete_schedule_list.php');
$query="";
error_log("DELETE ID ". $_REQUEST['id']);
if(!empty($_REQUEST['id'])){
error_log("DELETE ID ". $_REQUEST['id']);
$query = " DELETE from batch_fee_schedule where fee_schedule_id = '".$_REQUEST['id']."' ";
error_log('city_delet'.$query);
if (!$result = @mysqli_query($conn,$query)) {
exit(mysqli_error($conn));
echo json_encode("FAILURE");
}else{
echo json_encode("SUCCESS");
}
}
?>