Sorry, I forgot to take the "->fetchAll()" from the end. Let's start again
$stmt = $db->prepare("SELECT * FROM posts WHERE username = ? LIMIT $paginationStart, $limit");
$stmt->execute([$row2['username']]);
$authors = $stmt->fetchAll();
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.