ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/admin/old/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/admin/old/banner-delete.php |
<?php include"../config/config.php"; if($_POST['type']=="hard_delete"){ $id=$_POST['delete_id']; $statement = $pdo->prepare("delete from ".$_POST['table_name']." WHERE id=$id"); $result=$statement->execute(); if($result==1) { $message='Success..'; $error='1'; } else { $message='Failed..'; $error='0'; } $datas[] = array('message' => $message, 'error' => $error); echo $message; } ?>