$result = $this->db->query(
'SELECT * FROM `articles` WHERE id = :id AND categories = :categories',
[':id' => $articleId, ':categories' => $categoriesProgram]
);
$result = $this->db->query(
'SELECT * FROM `articles` WHERE id = :id and categories = :categories;',
[':id' => $articleId, ':categories' => 'categoriesProgram']
);