query("SELECT * FROM logins"); $arr = []; while ($line = $reponse->fetchArray()) { $arr[$line[0]] = $line[1]; } ?>