Delete qstack.php
This commit is contained in:
parent
85011e38f8
commit
bf72a8d6c4
17
qstack.php
17
qstack.php
|
@ -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);
|
||||
|
||||
?>
|
Loading…
Reference in New Issue