Delete get.php

This commit is contained in:
amarcel 2024-05-21 08:04:59 +00:00
parent 9ed28d7f46
commit 4415c71a0f
1 changed files with 0 additions and 17 deletions

17
get.php
View File

@ -1,17 +0,0 @@
<?php
$dbhost = "qstack.pl";
$dbuser = "boost";
$dbpass = "pass";
$dbname = "db";
$conn = mysqli_connect($dbhost, $dbuser, $dbpass, $dbname);
$ans = mysqli_query($conn, "SELECT * FROM osoby");
$json = array();
while ($row = mysqli_fetch_assoc($ans)) {
$json[] = $row;
}
echo json_encode($json);
?>