ohctech_p8/delete_task_header.php

15 lines
393 B
PHP
Raw Normal View History

2024-10-16 19:18:52 +05:30
<?php
include ('includes/config/config.php');
$query = "";
if (!empty($_REQUEST['flex_task_id'])) {
$query = " delete from task_header_master where task_id_header = '" . $_REQUEST['flex_task_id'] . " ' ";
if (!$result = @mysqli_query($conn, $query)) {
echo json_encode("FAILURE");
2024-11-02 18:03:13 +05:30
die(mysqli_error($conn));
2024-10-16 19:18:52 +05:30
} else {
echo json_encode("SUCCESS");
}
}