first commit

This commit is contained in:
root
2024-08-13 05:44:19 +00:00
commit 2b7abf23e8
2299 changed files with 379710 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
include('../koneksi.php');
$data_pegawai_id=$_POST['data_pegawai_id'];
$data = pg_query("
SELECT COUNT(*)
FROM riwayat_pel
WHERE data_pegawai_id=$data_pegawai_id AND
(status IS NOT NULL AND status <> 'REVISI' AND COALESCE(status,'')<>'PROSES PENGAJUAN')
");
while($r=pg_fetch_array($data)) {$j=$r[0];}
if ($j==0) {} else {echo $j;}
?>