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


$kode_sub_skpd = $_POST['kode_sub_skpd'];
$kode_program = $_POST['kode_program'];
$id_mprogram = $kode_sub_skpd .".".$kode_program;
$tahun=$_SESSION['tahun'];
$indikator_program = $_POST['indikator_program'];
$k_target_program_renstra=$_POST['k_target_program_renstra'];
$k_realisasi_program_renstra=$_POST['k_realisasi_program_renstra'];
$target_program_renja=$_POST['target_program_renja'];
$t_program1=$_POST['t_program1'];
$t_program2=$_POST['t_program2'];
$t_program3=$_POST['t_program3'];
$t_program4=$_POST['t_program4'];
$satuan_program=$_POST['satuan_program'];


mysqli_query($koneksi,"INSERT IGNORE INTO iprogram 
	(kode_sub_skpd,kode_program,
	tahun,indikator_iprogram,
	k_target_iprogram_renstra,
	k_realisasi_iprogram_renstra,
	target_iprogram_renja,
	t_iprogram1,
	t_iprogram2,
	t_iprogram3,
	t_iprogram4,
	satuan_iprogram
	) 
	values
	('$kode_sub_skpd','$kode_program',
	'$tahun','$indikator_program',
	'$k_target_program_renstra',
	'$k_realisasi_program_renstra',
	'$target_program_renja',
	'$t_program1',
	'$t_program2',
	'$t_program3',
	'$t_program4',
	'$satuan_program'
	)");
echo "Sukses";
?>
