05.12.2015, 15:58
(
Последний раз редактировалось Ahmad45123; 05.12.2015 в 16:59.
)
You mean using SQL ?
You can use something similar to:
Just change the where to be the name instead of the ID... :/
And if you mean that you want them to be listed by ID, You can use something similar to the following SQL:
Offtopic TIP:
If you are making a page to show all players, NEVER SHOW ALL OF THEM IN 1 PAGE.
Make sure to make a paging system to only show like 10 or 30 per page.
You can use the LIMIT keyword, ****** is your best friend.
You can use something similar to:
Код:
SELECT * FROM `users` WHERE `name` = 'Bla'
And if you mean that you want them to be listed by ID, You can use something similar to the following SQL:
Код:
SELECT * FROM `users` ORDER BY `id` ASC
If you are making a page to show all players, NEVER SHOW ALL OF THEM IN 1 PAGE.
Make sure to make a paging system to only show like 10 or 30 per page.
You can use the LIMIT keyword, ****** is your best friend.