alert('Image Should be Valid Extension');
window.location='slider.php?id=".$get_id."';
";
exit;
}
}
else {
$final_img1=$old_img;
}
$sqlu="UPDATE banner SET `image`='$final_img1',`head`='$head',`des`='$des' WHERE id='$get_id'";
$queryu=mysqli_query($conn,$sqlu) or die(mysqli_error($conn));
if ($queryu) {
echo("");
//}
}
}
}
else {
?>
alert('Update succesfully');window.location='slider_display.php';");
}
}
}
else {
echo("");
}
}
} // ELSE CONDITION CLOSED
?>