Delete qstack.php

This commit is contained in:
amarcel 2024-05-21 08:05:07 +00:00
parent 85011e38f8
commit bf72a8d6c4
1 changed files with 0 additions and 17 deletions

View File

@ -1,17 +0,0 @@
<?php
$dbhost = "qstack.pl";
$dbuser = "root";
$dbpass = "";
$dbname = "osoby";
$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);
?>