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
+15
View File
@@ -0,0 +1,15 @@
<?php
// Include your database connection
include '../config/connect.php';
$w = $_GET['w'];
// Prepare the SQL statement to fetch the server list
$stmt = $pdo->prepare("SELECT id, nama_server FROM data_server $w");
$stmt->execute();
// Fetch the data
$servers = $stmt->fetchAll(PDO::FETCH_ASSOC);
// Return the data as JSON
echo json_encode($servers);
?>