<?php include ('config.php');
?>
<?php
$a=$_POST['NIP'];
$b=$_POST['tanggal'];
$d=$_POST['ket'];
$e=$_POST['masuk'];
$f=$_POST['keluar'];
$mulai=$e;
$selesai=$f;
$mulai_time=(is_string($mulai)?strtotime($mulai):$mulai);
$selesai_time=(is_string($selesai)?strtotime($selesai):$selesai)...