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