$value ) { $requestStr.=$key . " : " . $value . "\n"; error_log ( $key . " : " . $value . "
\r\n" ); } error_log ( "End Printing Request Attributes" ); save_log($requestStr,'Bio Waste','DELETE','delete_waste_category.php'); include('log_entry.php'); error_reporting(E_ERROR | E_PARSE); $waste_category_id=$_REQUEST['waste_category_id']; $query_waste_category=""; if(!empty($waste_category_id)){ $query_waste_category="delete from waste_category where waste_category_id=$waste_category_id " ; error_log($query_waste_category); if (!$result_waste_category = @mysqli_query($conn,$query_waste_category)) { exit(mysqli_error($conn)); echo json_encode("FAILURE"); }else{ echo json_encode("SUCCESS"); } } ?>