From 147eadd2c2bb6c8c2c9e238a82296c8a840c4aa8 Mon Sep 17 00:00:00 2001 From: Cflip <36554078+cflip@users.noreply.github.com> Date: Sun, 24 Jan 2021 14:14:05 -0700 Subject: Create function to display threads --- index.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index fabec83..3672dbe 100644 --- a/index.php +++ b/index.php @@ -57,24 +57,20 @@ include_once 'header.php';
Latest Threads | -Categories | +Latest Post | ';
- echo '' . $row['thread_subject'] . ''; - echo 'by ' . $row['user_name'] . ' on ' . date('M d, Y', strtotime($row['thread_date'])) . ' | Posted in ' . $row['cat_name'] .' | '; } + display_threads($dbc, $result, true); mysqli_free_result($result); ?>
---|