Pull Request (Dev_1.1)

Project Course
is it possible to put the query statement and params to variables($query, $params) per if-else statement?
then after all the if-conditions, assign the values to the
```
$rows = $db->rows($query, $params);
foreach ($rows as $row) {
    $filter_threads[] = new Thread($row);
}
```