From 6500ec0543a316f9fa5f16a5c47e7103ec9bbe9e Mon Sep 17 00:00:00 2001 From: Cflip <36554078+cflip@users.noreply.github.com> Date: Sun, 24 Jan 2021 13:46:28 -0700 Subject: Add more links to user page --- category.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'category.php') diff --git a/category.php b/category.php index f5cf9cb..b26856a 100644 --- a/category.php +++ b/category.php @@ -27,7 +27,7 @@ mysqli_free_result($result); echo ''; -$sql = "SELECT thread_id, thread_subject, thread_date, user_name FROM threads JOIN users ON thread_author = user_id WHERE thread_cat = " . mysqli_real_escape_string($dbc, $_GET['id']) . " ORDER BY thread_id DESC"; +$sql = "SELECT thread_id, thread_subject, thread_date, user_id, user_name FROM threads JOIN users ON thread_author = user_id WHERE thread_cat = " . mysqli_real_escape_string($dbc, $_GET['id']) . " ORDER BY thread_id DESC"; $result = mysqli_query($dbc, $sql); if (!$result) { @@ -52,7 +52,9 @@ while ($row = mysqli_fetch_assoc($result)) { echo '