Privacy Policy Page

Success! Content successfully added.
"; echo ''; } else { $message = "
Error! Problem uploading Content.
"; } } if(!empty($_POST['btnedit'])=="Save Changes") { $privacy_policy_title= mysqli_real_escape_string($conn,$_POST['privacy_policy_title']); $privacy_policy_content= mysqli_real_escape_string($conn,$_POST['privacy_policy_content']); if($_FILES['banner_image']['name']) { $banner_image = time() . '_' . $_FILES['banner_image']['name']; $destination = '../upload/banner/' . $banner_image; move_uploaded_file($_FILES['banner_image']['tmp_name'], $destination); } else { $banner_image=$_POST['banner_image_prv']; } //echo "UPDATE `tm_privacy_policy` SET `slider_title`='$slider_title',`slider_image`='$slider_image',`restaurant_id`='$restaurant_id' WHERE `id`='".$_REQUEST['slider_id']."'"; //die; $update_sql= mysqli_query($conn,"UPDATE `tm_privacy_policy` SET `privacy_policy_title`='$privacy_policy_title',`privacy_policy_content`='$privacy_policy_content',`banner_image`='$banner_image' WHERE `id`='".$row1['id']."'"); if ($update_sql) { $message = "
Success! Content updated successfully.
"; echo ''; } else { $message = "
Error! Problem updating Content.
"; } } ?>
window.location='index.php'"; exit; } ?>