<?PHP
$p_set1 = $_POST["p_set"];
$p_id1 = $_POST["uid"];
//$error = "";
//if ($p_set1 == ""){$error = "Set harus dipilih<BR>";}
include("../index.cma.db.php");
//if ($error == ""){


$query = "UPDATE tab_personil Set daftar_set = '$p_set1' where daftar_pegid = '$p_id1'";  
$result = mysql_query($query); 

print ('<table width="50%"  border="0" align="center" cellpadding="6" cellspacing="6">
  <tr>
    <td><a href="index.php?g=pembinaan&i=index" class="menu">BERHASIL DISIMPAN KLIK UNTUK KEMBALI</a></td>
  </tr>
</table>');
//}
//else
//{
//echo "$error.";
//} 
?>
