<?php
include "../../inc/inc.koneksi.php";

$kwprs 	 =$_POST[kwprs];
$kwkar   =$_POST[kwkar];
$tkprs   =$_POST[tkprs];
$tkkar	 =$_POST[tkkar];
$ptkpwp	 =$_POST[ptkpwp];
$ptkpis	 =$_POST[ptkpis];
$ptkpan  =$_POST[ptkpan];
$maxanak =$_POST[maxanak];
$prosbj	 =$_POST[prosbj];
$maxbj	 =$_POST[maxbj];
$netgaji1=$_POST[netgaji1];
$prospph1=$_POST[prospph1];
$netgaji2=$_POST[netgaji2];
$prospph2=$_POST[prospph2];
$netgaji3=$_POST[netgaji3];
$prospph3=$_POST[prospph3];
$prospph4=$_POST[prospph4];

$sql  = mysql_query("SELECT * FROM standar");
$input= "UPDATE standar SET bpjs_kwprs='$kwprs',bpjs_kwkar='$kwkar',bpjs_tkprs='$tkprs',bpjs_tkkar='$tkkar',ptkp_wp='$ptkpwp',ptkp_is='$ptkpis',ptkp_an='$ptkpan',max_anak='$maxanak',pros_bijab='$prosbj',max_bijab='$maxbj',net_gaji1='$netgaji1',pros_pph1='$prospph1',net_gaji2='$netgaji2',pros_pph2='$prospph2',net_gaji3='$netgaji3',pros_pph3='$prospph3',pros_pph4='$prospph4',lastupdate=now()";
mysql_query($input);
	
echo "Data standar sukses diupdate.";
?>