From: Dylan Lloyd Date: Thu, 24 Mar 2011 23:28:26 +0000 (-0400) Subject: Fixed div error in index.php X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=c2c4a56c5d3b6ccc549539bf99e0d9c0d50473b6;p=dylansserver.git Fixed div error in index.php Fixed error stopping the javascript exhibit display on the index page. The error was very strange (as in why the code was there, the fix was simple), I tried to track down its origin with blame, but git lost the history after a rename. This was already fixed in branch dev, but it was not a distinct commit. Still validating (at least the index page). --- diff --git a/index.php b/index.php index 687fc69..740157b 100644 --- a/index.php +++ b/index.php @@ -190,13 +190,13 @@ OTHER_PROJECTS; } protected function display_exhibits() { + echo "
"; $sql = "SELECT text FROM projects"; $result = $this->db->query($sql); while ($entry = $result->fetch_object()) { - echo "
"; echo $entry->text; - echo "
"; } + echo "
"; } private function list_projects() {