first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
include('../koneksi.php');
|
||||
$data_pegawai_id=$_POST['data_pegawai_id'];
|
||||
$data = pg_query("
|
||||
SELECT COUNT(*)
|
||||
FROM riwayat_spo
|
||||
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;}
|
||||
?>
|
||||
Reference in New Issue
Block a user