diff --git a/res/forum/api/get_posts.php b/res/forum/api/get_posts.php index 036917b..d0037a7 100644 --- a/res/forum/api/get_posts.php +++ b/res/forum/api/get_posts.php @@ -15,7 +15,7 @@ if ($out -> num_rows != 1) return; } -$out = $database -> query("SELECT title, description, photo_id FROM post"); +$out = $database -> query("SELECT title, description, photo_id FROM post ORDER BY id DESC"); $output = array();