a Small help about php
#2

You mean using SQL ?

You can use something similar to:
Код:
SELECT * FROM `users` WHERE `name` = 'Bla'
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:
Код:
SELECT * FROM `users` ORDER BY `id` ASC
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.
Reply


Messages In This Thread
a Small help about php - by SWAT4 - 05.12.2015, 14:37
Re: a Small help about php - by Ahmad45123 - 05.12.2015, 15:58
Re: a Small help about php - by Kaperstone - 05.12.2015, 16:23
Re: a Small help about php - by SWAT4 - 05.12.2015, 19:42
Re: a Small help about php - by Ahmad45123 - 05.12.2015, 20:00
Re: a Small help about php - by Kaperstone - 05.12.2015, 22:01
Re: a Small help about php - by Ahmad45123 - 05.12.2015, 22:10
Re: a Small help about php - by Kaperstone - 05.12.2015, 22:14
Re: a Small help about php - by Ahmad45123 - 05.12.2015, 22:37

Forum Jump:


Users browsing this thread: 3 Guest(s)