var_dump(mysqli_fetch_assoc(mysqli_query($db, "SELECT password FROM users WHERE login='Alekseyfbnd1'"))['password']);
error_reporting(E_ALL);
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$user = $db->query("SELECT password FROM users WHERE login='Alekseyfbnd1'")->fetch_assoc();
if ($user) {
var_dump($user['password']);
} else {
echo "not found\n";
}