Remove fitur jalan, parsil, dan spbu
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$host = "localhost";
|
$host = "localhost";
|
||||||
$user = "root";
|
$user = "root";
|
||||||
$pass = "";
|
$pass = "";
|
||||||
$db = "webgis_db_pertemuan2";
|
$db = "webgis_db_pertemuan2";
|
||||||
|
|
||||||
|
|
||||||
// Connect first without DB to ensure we can create it if missing
|
// Connect first without DB to ensure we can create it if missing
|
||||||
$conn = new mysqli($host, $user, $pass);
|
$conn = new mysqli($host, $user, $pass);
|
||||||
@@ -30,4 +32,3 @@ $sql_spbu = "CREATE TABLE IF NOT EXISTS `spbu_locations` (
|
|||||||
if (!$conn->query($sql_spbu)) {
|
if (!$conn->query($sql_spbu)) {
|
||||||
die("Gagal membuat tabel spbu_locations: " . $conn->error);
|
die("Gagal membuat tabel spbu_locations: " . $conn->error);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user