TKK_E32210823/absensi/apps/excel.php

30 lines
787 B
PHP

<?php require 'config.php'; ?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Export To Excel</title>
</head>
<body>
<form action="export.php" method="POST">
<label for="search">Cari Karyawan:</label> <!-- Ubah id dan name menjadi search -->
<input type="text" name="search" id="search" placeholder="Masukkan Nama Karyawan">
<label for="start_date">Tanggal Awal:</label>
<input type="date" name="start_date" id="start_date">
<label for="end_date">Tanggal Akhir:</label>
<input type="date" name="end_date" id="end_date">
<button type="submit" name="submit">Export To Excel</button>
</form>
<hr>
<?php require 'data.php'; ?>
<a href="data_absen-index.php"> <button type="button" name="button">Kembali</button> </a>
<hr>
</body>
</html>