diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-03-21 20:18:53 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-03-21 20:18:53 -0600 |
commit | 9c619586639b9ac0f107e63a54b5522d75ea2ee2 (patch) | |
tree | 99b19d3a02ffc368585a762671aa74a582b2c9b2 | |
parent | efd7a7418ed94e26566ea97e23be9b00048e0c7f (diff) |
Remove all.php
-rw-r--r-- | all.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/all.php b/all.php deleted file mode 100644 index dc97914..0000000 --- a/all.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -include_once 'header.php'; - -include_once 'includes/db_inc.php'; -include_once 'includes/functions_display.php'; - -$sql = "SELECT thread_id, thread_subject, thread_date, user_id, user_name, cat_id, cat_name FROM threads JOIN users ON thread_author = user_id JOIN categories ON thread_cat = cat_id ORDER BY thread_id DESC"; -$result = mysqli_query($dbc, $sql); - -if (!$result) { - die('<section>Failed to fetch threads from server! <br>' . mysqli_error($dbc) . '</section>'); -} - -echo '<table><tr><th class="left">Latest Threads</th><th class="right">Latest Post</th></tr>'; - -display_threads($dbc, $result, true); -mysqli_free_result($result); - -echo '</table>'; - -include_once 'footer.php'; |