Assicurati che il tipo di $limit e $offset è impostato su PDO::PARAM_INT :
$limit = 20;
$offset = 0;
$stmt->bindParam(1, $limit, PDO::PARAM_INT);
$stmt->bindParam(2, $offset, PDO::PARAM_INT);
Assicurati che il tipo di $limit e $offset è impostato su PDO::PARAM_INT :
$limit = 20;
$offset = 0;
$stmt->bindParam(1, $limit, PDO::PARAM_INT);
$stmt->bindParam(2, $offset, PDO::PARAM_INT);