$stm = $DB->prepare("SELECT `name`,`type` FROM :main WHERE `id`=:theme limit 1");
$stm -> bindParam(':main', $main);
$stm -> bindParam(':theme', $theme);
$stm -> execute();
$Array = $stm->fetch(PDO::FETCH_ASSOC);
echo $Array['name']; //Ничего не выводит