From b134b8d8aaa193c6097f034e08fe8d54e51eabab Mon Sep 17 00:00:00 2001 From: h5p9sl <21267024+h5p9sl@users.noreply.github.com> Date: Sun, 24 Jan 2021 10:52:26 -0700 Subject: Add basic user page --- thread.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thread.php') diff --git a/thread.php b/thread.php index 52ad8b3..ce39d2f 100644 --- a/thread.php +++ b/thread.php @@ -15,7 +15,7 @@ if (mysqli_num_rows($result) == 0) { } else { while ($row = mysqli_fetch_assoc($result)) { echo '

' . $row['thread_subject'] . '

'; - echo 'Created by ' . $row['user_name'] . ' on ' . date('M d, Y', strtotime($row['thread_date'])) . '
'; + echo 'Created by ' . $row['user_name'] . ' on ' . date('M d, Y', strtotime($row['thread_date'])) . ''; $thread_id = $row['thread_id']; } } @@ -36,7 +36,7 @@ if (mysqli_num_rows($result) == 0) { } else { echo ''; while ($row = mysqli_fetch_assoc($result)) { - echo ''; + echo ''; echo ''; } echo '
Posted by ' . $row['user_name'] . '
' . date('m/d/Y g:ia', strtotime($row['post_date'])) . '
Posted by ' . $row['user_name'] . '
' . date('m/d/Y g:ia', strtotime($row['post_date'])) . '
' . $row['post_content'] . '
'; @@ -64,4 +64,4 @@ if (isset($_SESSION['signed_in'])) { } include_once 'footer.php'; -?> \ No newline at end of file +?> -- cgit v1.2.3