$result = mysql_query("SELECT `username`, `id` FROM `users` ORDER BY `id` DESC LIMIT 20"); or die(mysql_error());