Hey liebe Leute ich habe ein problem unzwar dieser code funktioniert nicht und ich habe jetzt schon 2 stunden versucht das Problem zu finden aber ich habe es nicht gefunden und darum wollte ihc fragen ob wer mir helfen könnte und mir sagen könnte wo der fehler liegt: 
<?php
try {
$mysqli = new mysqli("localhost", "Account", "password1234", "Gordon");
if (mysqli_connect_errno()) {
echo 'Connect failed: %s\n' . mysqli_connect_error();
exit();
}
$query = "SELECT UUID FROM Stats";
if ($result = mysqli_query($mysqli, $query)) {
while ($obj = mysqli_fetch_object($result)) {
printf ("%s (%s)\n", $obj->UUID);
}
mysqli_free_result($result);
}
mysqli_close($mysqli);
} catch (Exception $e) {
echo "ERROR!";
}
?>
<?php
try {
$mysqli = new mysqli("localhost", "Account", "password1234", "Gordon");
if (mysqli_connect_errno()) {
echo 'Connect failed: %s\n' . mysqli_connect_error();
exit();
}
$query = "SELECT UUID FROM Stats";
if ($result = mysqli_query($mysqli, $query)) {
while ($obj = mysqli_fetch_object($result)) {
printf ("%s (%s)\n", $obj->UUID);
}
mysqli_free_result($result);
}
mysqli_close($mysqli);
} catch (Exception $e) {
echo "ERROR!";
}
?>