Update Package

alert('update succesfully');window.location='category_table.php';"; } } else if($image_name == "") { $sql="UPDATE `category` SET `title`='$title',`image`='$old_image',`des`='$desc',`price`='$price' WHERE id='$get_id'"; $query=mysqli_query($conn,$sql) or die(mysqli_error($conn)); if($query) { echo ""; } } } } ?>