04.10.2015, 06:51
How is it right? Variant 1 or 2? (Use MYSQL R39-2)
Query or TQuery?
Variant 1
Variant 2
Query or TQuery?
Variant 1
Код HTML:
mysql_format(MySQLCon, query, sizeof(query), "UPDATE `players` SET `Admin`=%d WHERE `ID`=%d", pInfo[id][pAdmin], pInfo[id][pID]); mysql_tquery(MySQLCon, query);
Код HTML:
mysql_format(MySQLCon, query, sizeof(query), "UPDATE `players` SET `Admin`=%d WHERE `ID`=%d", pInfo[id][pAdmin], pInfo[id][pID]); mysql_query(MySQLCon, query);