fetchAll(PDO::FETCH_ASSOC); } else { $newsplus = false; } $index = Element("8chan/index.html", array("config" => $config, "newsplus" => $newsplus)); file_write('index.html', $index); echo $index;