initial commit sistem pemetaan kemiskinan
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$conn = new mysqli("localhost","root","","gis_spbu");
|
||||
$result=$conn->query("SELECT * FROM jalan");
|
||||
$data=[];
|
||||
while($row=$result->fetch_assoc()) $data[]=$row;
|
||||
echo json_encode($data);
|
||||
?>
|
||||
Reference in New Issue
Block a user