"; $sql = "SELECT text FROM projects WHERE title = ?"; $result = $this->query($sql, "s", $_GET['project']); if ($result = $result[0]['text']) { $text = str_replace("class='exhibit'", "class='exhibit' style='display:block;'", $result); echo $text; echo ""; } else { throw new notFound(); } } } ?>