$value ) { $requestStr.=$key . " : " . $value . "\n"; error_log ( $key . " : " . $value . "
\r\n" ); } error_log ( "End Printing Request Attributes" ); save_log($requestStr,'Training List','DELETE','delete_training_details.php'); $training_id=$_REQUEST['training_id']; //echo $training_id; if(!empty($training_id)){ //update case $query="delete from training_master where training_master_id='$training_id'"; $result = @mysqli_query($conn,$query); } if (!$result) { exit(mysqli_error($conn)); echo json_encode("FAILURE"); } else { echo json_encode("SUCCESS"); } ?>