ordering posts by time added
This commit is contained in:
parent
d81d4e4ca4
commit
6d0fd13ea5
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user