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

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?php
include('../../koneksi.php');
$key=$_POST['key'];
if ($key=='peserta_ready') {
$a=$_POST['pegawai_id'];
$pecah=explode(',',$a);
foreach($pecah as $selected) {
$r=pg_query("UPDATE riwayat_peserta SET status='Ready' WHERE id='$selected'");
}
} else
if ($key=='peserta_batal') {
$a=$_POST['pegawai_id'];
$pecah=explode(',',$a);
foreach($pecah as $selected) {
$r=pg_query("UPDATE riwayat_peserta SET status='Pending' WHERE id='$selected'");
}
}
?>