Eu tenho essa tabela no MySQL:
id | name | points
1 | John | 9
2 | Bart | 7
3 | Billy | 14
Eu gostaria de ter uma tabela em HTML / PHP onde ele imprime isso:
Name Points
Billy 14
John 9
Bart 7
Como eu posso fazer?
Respostas:
0 para resposta № 1Tente uma consulta como:
SELECT name, points FROM your_table ORDER BY points DESC