15 lines
379 B
PHP
15 lines
379 B
PHP
<?php
|
|
include('includes/config/config.php');
|
|
$query = "";
|
|
if (!empty($_REQUEST['flex_id'])) {
|
|
$query = " delete from dignosys_wise_bodysystem where id = '" . $_REQUEST['flex_id'] . " ' ";
|
|
|
|
if (!$result = @mysqli_query($conn, $query)) {
|
|
|
|
exit(mysqli_error($conn));
|
|
echo json_encode("FAILURE");
|
|
} else {
|
|
echo json_encode("SUCCESS");
|
|
}
|
|
}
|
|
?>
|