$params = [
'status' => $_GET['status'],
'page' => [$_GET['page'], 'PDO::PARAM_INT']
];
foreach ($params as $key => $val) {
if (gettype($val) == 'array') {
$stmt->bindValue(':' . $key, $val[0], $val[1]);
} else {
$stmt->bindValue(':' . $key, $val);
}
}