diff --git a/threadr/about/index.php b/threadr/about/index.php index 5b454c7..93d1472 100644 --- a/threadr/about/index.php +++ b/threadr/about/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/boards/index.php b/threadr/boards/index.php index 92dc1df..3c7919f 100644 --- a/threadr/boards/index.php +++ b/threadr/boards/index.php @@ -1,3 +1,7 @@ + @@ -25,7 +29,7 @@ $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!'); $error = false; $error_message = ""; - + if (!$error) { $statement = $pdo->prepare("SELECT * FROM boards"); $statement->execute(); @@ -34,7 +38,7 @@ echo "
  • $ROW[name]
  • "; } } - + if (!$result) { $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; } diff --git a/threadr/index.php b/threadr/index.php index 83c70f0..9723188 100644 --- a/threadr/index.php +++ b/threadr/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/login/index.php b/threadr/login/index.php index a3d2e62..2173afd 100644 --- a/threadr/login/index.php +++ b/threadr/login/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/news/index.php b/threadr/news/index.php index c0fc80c..d9f4a4f 100644 --- a/threadr/news/index.php +++ b/threadr/news/index.php @@ -1,3 +1,7 @@ + @@ -25,7 +29,7 @@ + diff --git a/threadr/signup/index.php b/threadr/signup/index.php index 2016e0e..af5ec27 100644 --- a/threadr/signup/index.php +++ b/threadr/signup/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/signup/verify-email/index.php b/threadr/signup/verify-email/index.php index dbaca87..a68b664 100644 --- a/threadr/signup/verify-email/index.php +++ b/threadr/signup/verify-email/index.php @@ -1,4 +1,6 @@