Add remaining project files (exclude ignored folders)

This commit is contained in:
WD - Dev
2025-07-05 15:11:40 +07:00
parent a96eb2b958
commit b440b80882
4697 changed files with 1365702 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
include "../config/connect.php";
include "../config/whatsapp_api.php";
$no = 1;
$tanggalHariIni = date('Y-m-d');
$sql = "SELECT * FROM data_server WHERE id != :id AND expaired_date >= :tanggal ORDER BY expaired_date DESC";
$stmt = $pdo->prepare($sql);
$stmt->execute([
':id' => 1,
':tanggal' => $tanggalHariIni
]);
while ($server = $stmt->fetch(PDO::FETCH_ASSOC)) {
echo $no . ' => ' . $server['nama_server'] . '<br>';
$no++;
}
?>