mysql help
#1

I need help with admins in mysql..

Only Online admins :

Код:
	if (typ == 1)
	{
		mysql_format(handle, query, sizeof(query), "SELECT * FROM `ASystem` WHERE Title >=2 AND logged=1  ORDER BY hodnost DESC");
		format(caption, sizeof(caption), "ONLINE ADMINS");
	}
ALL Admins:

Код:
	else if (typ == 0)
	{
		mysql_format(handle, query, sizeof(query), "SELECT * FROM `ASystem` WHERE Title >=2 ORDER BY hodnost DESC");
		format(caption, sizeof(caption), "ADMIN TEAM ALL");
	}
but if send /admins so show only show ALL Admins
Reply


Messages In This Thread
mysql help - by itachi - 13.02.2017, 21:52
Re: mysql help - by BiosMarcel - 13.02.2017, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)