diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-07 15:24:15 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-04-07 15:24:15 -0600 |
commit | 700449b8d903b9707b2751784dc54b4450a655df (patch) | |
tree | 438db8c9baaa026f46a35e3f6f149d7aaa32db1e /create_thread.php | |
parent | d61a18a93bc1b39d91725497ebb2fe85c4785ead (diff) |
Style and layout changes
Diffstat (limited to 'create_thread.php')
-rw-r--r-- | create_thread.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/create_thread.php b/create_thread.php index dc0ce06..4598ce2 100644 --- a/create_thread.php +++ b/create_thread.php @@ -3,6 +3,7 @@ <html> <head> <title>Create a thread - cflip.net forum</title> + <link rel="stylesheet" href="styles/style.css"> </head> <body> <?php include_once 'templates/header.php' ?> @@ -58,9 +59,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { $sql = "UPDATE categories SET `cat_thread_count` = `cat_thread_count` + '1' WHERE cat_id = " . $thread_cat . ";"; mysqli_query($dbc, $sql); - header("Location: /forum/thread/" . $thread_id); + header("Location: viewthread.php?id=" . $thread_id); } } ?> </body> -</html>
\ No newline at end of file +</html> |