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