mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
9 lines
173 B
PHP
9 lines
173 B
PHP
<?php
|
|||
function querySafe() {
|
|||
$conn = new mysqli("localhost", "user", "pass", "db");
|
|||
$result = $conn->query("SELECT 1");
|
|||
$conn->close();
|
|||
return $result;
|
|||
}
|
|||
?>
|