<?php
$db = mysqli_connect("localhost", "u9616605_pendaftarancpns", "DanangE2c2020", "u9616605_pendaftarancpns");
mysqli_query($db, "UPDATE tb_file_materi SET hits = hits+1 WHERE id_materi = '$_POST[id]'") or die($db->error);
?>
