Update PHP connection files and tables for merged uas_06 database
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ $nama = $_POST['nama'];
|
||||
$lat = $_POST['lat'];
|
||||
$lng = $_POST['lng'];
|
||||
|
||||
$stmt = $koneksi->prepare("INSERT INTO spbu (nama_spbu, lat, lng) VALUES (?, ?, ?)");
|
||||
$stmt = $koneksi->prepare("INSERT INTO spbu_01 (nama_spbu, lat, lng) VALUES (?, ?, ?)");
|
||||
$stmt->bind_param("sdd", $nama, $lat, $lng);
|
||||
|
||||
echo $stmt->execute() ? "success" : "error";
|
||||
|
||||
Reference in New Issue
Block a user