02.12.2015, 12:22
Which is the best option?
Option 1:
Option 2:
pQuery or tQuery for Update? In table `players` are over 4,000+ created accounts.
Option 1:
Код HTML:
mysql_format(MySQLCon, QuerY, sizeof(QuerY), "UPDATE `players` SET `Money`=%d WHERE `ID`=%d", pInfo[playerid][pMoney],pInfo[playerid][pID]); mysql_tquery(MySQLCon, QuerY);
Код HTML:
mysql_format(MySQLCon, QuerY, sizeof(QuerY), "UPDATE `players` SET `Money`=%d WHERE `ID`=%d", pInfo[playerid][pMoney],pInfo[playerid][pID]); mysql_pquery(MySQLCon, QuerY);