<?php

$isi=$_POST['isi'];

$id=$_POST['id'];


$query=mysql_query("update program_kerja set isi_program_kerja='$isi',status_admin='adminpinanglima',tanggal_post_program_kerja=NOW() where id_program_kerja='$id'")or die(mysql_error());	

	if ($query){
	
	echo "<script>alert('Berhasil Merubah Data Program Kerja'); location.href='?page=data_pk'</script>";
	}
	else
	{
	echo"Proses Gagal";
	}
	
	
?>	
