get_from_database($_GET['id'], $dbc); if ($result == 0) { http_response_code(404); include_once 'templates/404.php'; die(); } } ?>
description; ?>
thread_count . ' threads, ' . $current->post_count . ' posts'; ?>Thread Name | Latest Post | |
---|---|---|
' . $thread->subject . ' '; echo 'by ' . $thread->author->name . ' on ' . date('M d, Y', strtotime($thread->date_created)) . ' | ';
if (!is_null($latest_post)) {
echo 'by ' . $latest_post->author->name . ' on ' . $latest_post->date . ' | ';
} else {
echo 'No posts yet! | '; } echo '