prepare("SELECT id FROM epube_users WHERE user = ? AND pass = ?"); $sth->execute([$user, $password]); if ($line = $sth->fetch()) { require_once "sessions.php"; $_SESSION["owner"] = $user; header("Location: index.php"); } else { $login_notice = "Incorrect username or password"; } } ?> The Epube