25.05.2015, 09:02
Code:
format(query,sizeof(query),"UPDATE factions SET Rank 1 = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"","");
Code:
[12:07:09] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE factions SET Rank 1 = asdasd WHERE ID = 53", callback: "(null)", format: "(null)" [12:07:09] [DEBUG] CMySQLQuery::Execute[] - starting query execution [12:07:09] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = azzaz WHERE ID = 53' at line 1 [12:07:09] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError