How many accounts in database
#6

What do you want to display it in? For example if you want to tell people on the server:

pawn Код:
mysql_query('SELECT COUNT(*) FROM `table`');
mysql_store_result();
new string[50];
format(string,50,"Accounts registered: %d",mysql_fetch_int());
SendClientMessageToAll(color,string);
mysql_free_result();
Reply


Messages In This Thread
How many accounts in database - by NewbBeginner - 18.11.2010, 15:14
Re: How many accounts in database - by Kyle - 18.11.2010, 15:17
Re: How many accounts in database - by [NoV]LaZ - 18.11.2010, 15:17
Re: How many accounts in database - by JaTochNietDan - 18.11.2010, 15:19
Re: How many accounts in database - by NewbBeginner - 18.11.2010, 15:26
Re: How many accounts in database - by JaTochNietDan - 18.11.2010, 15:28
Re: How many accounts in database - by NewbBeginner - 18.11.2010, 15:29
Re: How many accounts in database - by Hiddos - 18.11.2010, 15:31
Re: How many accounts in database - by JaTochNietDan - 18.11.2010, 15:32
Re: How many accounts in database - by NewbBeginner - 18.11.2010, 15:34

Forum Jump:


Users browsing this thread: 2 Guest(s)