| Current Path : /var/www/html/venkat/repo2017sept/admin/ |
| Current File : /var/www/html/venkat/repo2017sept/admin/vdeletesubmit.php |
<?php
include ("vdelete.php");
$category = addslashes($_POST['table']);
$id = addslashes($_POST['count']);
$quer2="delete from $category where id = ? and user = ?";
$sth = $link->prepare($quer2);
$sth->execute(array($id,$s));
if($sth->rowCount() > 0) {
echo("Successfuly Deleted.");
}
else {
echo(" You would have choosen wrong id or attempting to delete others data it fails");
}
?>