order by
This commit is contained in:
parent
f06bd74ca1
commit
e97c011e12
2
ucp.php
2
ucp.php
|
@ -146,7 +146,7 @@ switch ($_GET['page']) {
|
|||
default: {
|
||||
check_privileges();
|
||||
|
||||
$sql_str = "SELECT `id`, `word1`, `word2`, `word3`, `author`, `new` FROM `words`;";
|
||||
$sql_str = "SELECT `id`, `word1`, `word2`, `word3`, `author`, `new` FROM `words` ORDER BY `id` DESC;";
|
||||
$res = $sql->query($sql_str);
|
||||
|
||||
$words = array();
|
||||
|
|
Loading…
Reference in New Issue
Block a user