I am trying to get this SQL to run, however when I use PDO it just displays nothing, I think its something to do with the ":offset" because if I remove that and type a number, it works fine. the offset variable is correct and functions as its supposed to
$newsQuery = $pdo->prepare("SELECT * FROM News ORDER BY News_ID DESC LIMIT 6 OFFSET :offset");
echo $offset;
$newsQuery->bindParam(":offset", $offset,PDO::PARAM_INT);
$newsQuery->execute();