MINI MINI MANI MO
<?php
ob_start();
require_once 'library/config.php';
require_once 'library/functions.php';
$idd=$_GET['id'];
$sql = "update products set image='' where id='$idd'";
$result = mysql_query($sql) or die(mysql_error()) ;
//if successful redirect to delete_multiple.php
if($result)
{
echo "<script type='text/javascript'>alert('Product Photo Sucecessfully Deleted!'); </script>";
echo "<meta http-equiv=\"refresh\" content=\"0;URL=modify-product.php?id=$idd\">";
}
else {
echo "<script type='text/javascript'>alert('Sorry, Please try again...!'); </script>";
echo "<meta http-equiv=\"refresh\" content=\"0;URL=modify-product.php?id=$idd\">";
}
?>
OHA YOOOO