ok
Direktori : /proc/thread-self/root/proc/thread-self/root/home2/selectio/www/frames-hub/api/ |
Current File : //proc/thread-self/root/proc/thread-self/root/home2/selectio/www/frames-hub/api/delete.php |
<?php include "config/config.php"; if($_POST['type']=="customer_delete"){ $statement = $pdo->prepare("UPDATE ".$_POST['table']." SET status=? WHERE id=?"); $result=$statement->execute(array(0,$_POST['delete_id'])); if($result==1) { $message='Success..'; $error='1'; } else { $message='Failed..'; $error='0'; } $datas[] = array('message' => $message, 'error' => $error); echo $message; } ?>