<?php 
session_start();
include '../../../../config/koneksi.php';


$kode_sub_skpd = $_POST['kode_sub_skpd'];
$kode_programu = $_POST['kode_programu'];
$id_iprogram = $_POST['id_iprogram'];
$tahun=$_SESSION['tahun'];
$indikator_iprogram = $_POST['indikator_iprogram'];
$k_target_iprogram_renstra=$_POST['k_target_iprogram_renstra'];
$k_realisasi_iprogram_renstra=$_POST['k_realisasi_iprogram_renstra'];
$target_iprogram_renja=$_POST['target_iprogram_renja'];
$t_iprogram1=$_POST['t_iprogram1'];
$t_iprogram2=$_POST['t_iprogram2'];
$t_iprogram3=$_POST['t_iprogram3'];
$t_iprogram4=$_POST['t_iprogram4'];
$satuan_iprogram=$_POST['satuan_iprogram'];


mysqli_query($koneksi,"UPDATE iprogram 
	SET
	kode_sub_skpd='$kode_sub_skpd',
	kode_program='$kode_programu',
	tahun='$tahun',
	indikator_iprogram='$indikator_iprogram',
	k_target_iprogram_renstra='$k_target_iprogram_renstra',
	k_realisasi_iprogram_renstra='$k_realisasi_iprogram_renstra',
	target_iprogram_renja='$target_iprogram_renja',
	t_iprogram1='$t_iprogram1',
	t_iprogram2='$t_iprogram2',
	t_iprogram3='$t_iprogram3',
	t_iprogram4='$t_iprogram4',
	satuan_iprogram='$satuan_iprogram'
	where id_iprogram='$id_iprogram' ");
echo "Sukses";
?>
