first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
include "koneksi.php";
|
||||
|
||||
$data = [];
|
||||
$q = $conn->query("SELECT * FROM tb_spbu");
|
||||
|
||||
while($row = $q->fetch_assoc()){
|
||||
$data[] = $row;
|
||||
}
|
||||
|
||||
echo json_encode($data);
|
||||
?>
|
||||
Reference in New Issue
Block a user