Delete Data Php

 <?php
include("db.php");
error_reporting(0);
$del=$_GET['delcartid'];
$delete = "delete from displaycart where display_cart = $del";
$result = mysqli_query($conn,$delete);
if($result) {
echo "Success";
}
else
{
echo "Error in deletion";
}

?>

Post a Comment

0 Comments