Initial commit

This commit is contained in:
2026-06-10 00:49:56 +07:00
commit 813cfcaf9f
27 changed files with 24734 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
include 'koneksi.php';
$nama = $_POST['nama_spbu'];
$wa = $_POST['no_wa'];
$status = $_POST['status'];
$lat = $_POST['latitude'];
$lng = $_POST['longitude'];
$stmt = $conn->prepare("INSERT INTO lokasi (nama_spbu, no_wa, status, latitude, longitude) VALUES (?, ?, ?, ?, ?)");
$stmt->bind_param("sssdd", $nama, $wa, $status, $lat, $lng);
if($stmt->execute()){
echo "OK";
} else {
echo "Gagal";
}
?>