08.05.2012, 13:41
Thankґs
so if i understand i should use something like that:
is the best solution?
Another question:
-How to use the "COUNT(*)" function?
or what does it return exactly?
and what returns f.e.
"COUNT(id)" or "COUNT(passwort)"
so if i understand i should use something like that:
Код:
format(query, sizeof(query), "SELECT COUNT(*) FROM "MYSQL_ACC_TBL" WHERE Name = '%s' ORDER BY `id` DESC LIMIT 1", Name); mysql_query(query,MYSQL_CHECK_PLAYER,playerid);
Another question:
-How to use the "COUNT(*)" function?
or what does it return exactly?
and what returns f.e.
"COUNT(id)" or "COUNT(passwort)"