[Ajuda] Mysql "UPDATE" query
#1

Este cуdigo:

pawn Code:
callBack::SaveInfoSvr(){
    new saveQuery[48];
    format(saveQuery,sizeof(saveQuery),"UPDATE `servervar` SET totalvipson='%d',totaladminson='%d',totalvips='%d',totalgangs='%d',totalbans='%d',totalkicks='%d',totallogins='%d',totalregistrados='%d'",ServerVar[totalvipson],ServerVar[totaladminson],ServerVar[totalvips],ServerVar[totalgangs],ServerVar[totalbans],ServerVar[totalkicks],ServerVar[totallogins],ServerVar[totalregistrados]);
    mysql_function_query(mysql, saveQuery, false, "", "");
    return true;
}
Estб resultando em (e nгo estб salvando):

Quote:

[12:50:44] >> mysql_query_callback( Connection handle: 1 )
[12:50:44] Passing query UPDATE `servervar` SET totalvipson='0',totaladm |
[12:50:44] CMySQLHandler::ProcessQueryThread() - Error will be triggered to OnQueryError()

Reply


Messages In This Thread
Mysql "UPDATE" query - by Mr.Hardy - 06.01.2014, 11:44
Re: Mysql "UPDATE" query - by Mandrakke - 06.01.2014, 12:37
Re: Mysql "UPDATE" query - by Mr.Hardy - 06.01.2014, 14:02

Forum Jump:


Users browsing this thread: 1 Guest(s)