diff --git a/threadr/boards/index.php b/threadr/boards/index.php new file mode 100644 index 0000000..6a530e0 --- /dev/null +++ b/threadr/boards/index.php @@ -0,0 +1,35 @@ + + + + ThreadR Boards + + + +
+
+ prepare("SELECT name FROM boards"); + $statement->execute(); + + echo "" + } + catch(PDOException $Exception) { + $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; + } + + $pdo = null; + ?> +
+
+ +