'SELECT * FROM user_spells'
то выводит инфу отлично'SELECT * FROM user_spells WHERE user_login = '.$_SESSION["session_username"].'
то не выводит. $username = $_SESSION['session_username'];
$stmt = $pdo->prepare('SELECT * FROM user_spells WHERE user_login = ?');
$stmt->execute([$username]);
return $stmt->fetchAll();