From d1e17342764dd8373af14f5896e721769c3917cb Mon Sep 17 00:00:00 2001
From: Aqua-sama $result[title] Submitted by $result[submitter] ' . $markdown->text($result['description']) . 'Reports
";
+# reports query
+$reports = $conn->prepare("SELECT reports.id AS id, title, description, users.username AS user
+ FROM reports JOIN users ON reports.author=users.id WHERE bug=:bug_id ORDER BY id");
+$reports->bindParam(':bug_id', $_GET['id']);
+$reports->execute();
+
+if($reports->rowCount() > 0) {
+?>
+
+
+
+
+No reports
+Title Description Submitted by $row[title] " . truncate($row['description']) . " $row[user] \n";
+}
+?>
+