if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
$uprogram = $_POST["program"];
if ($uprogram["guncelleme"] == "0"){unset($uprogram["tarih"]);}
$updateSQL = $db->update("program",$uprogram,"id = '".$_POST['id']."'");
header("Location: program_duzenle.php?id=".$_POST["id"]);
exit();
}program_duzenle.php yada editor.php yi kendiniz yazarsınız elle. birden fazla yerden deger geliyorsa hidden bir alan daha eklersiniz ona göre
switch($_POST["nereye"]){
case "program":
header("Location: program_duzenle.php?id=".$_POST["id"]);
break;
case "editor":
header("Location: editor.php?id=".$_POST["id"]);
break;
}gibi gibi
js kullanin