<?php
include "../../f_db.php";
dbconnect();
$upd = "UPDATE ras_gallery SET gal_title='".str_replace('\\"','',$_POST['gal_title'])."', gal_desc='".str_replace('\\"','',$_POST['gal_desc'])."' WHERE gal_id=".$_POST['gal_id'];
$update = qupdate($upd);
header("Location: index.php?gal=".$_POST['gal_id']);
?>