Commit e23f2c2c authored by Jyrki's avatar Jyrki 🐾
Browse files

order by

parent f06bd74c
......@@ -146,7 +146,7 @@ switch ($_GET['page']) {
default: {
$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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment