first commit

This commit is contained in:
Anderi Saputra
2026-06-10 17:00:19 +07:00
commit adec71e763
38 changed files with 9278 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
include "koneksi.php";
$data = [];
$q = $conn->query("SELECT * FROM tb_tempat_ibadah");
if ($q) {
while($row = $q->fetch_assoc()){
$data[] = $row;
}
}
header('Content-Type: application/json');
echo json_encode($data);
?>