ok

Mini Shell

Direktori : /home2/selectio/public_html/tnpsctestbatch.com/admin/old/
Upload File :
Current File : /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;
}

?>

Zerion Mini Shell 1.0