format(query,sizeof(query),"UPDATE factions SET Rank 1 = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"","");
[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
format(query,sizeof(query),"UPDATE factions SET Rank1 = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"","");
[12:07:28] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE factions SET Rank 1 = 'asdasd' WHERE ID = 53", callback: "(null)", format: "(null)" [12:07:28] [DEBUG] CMySQLQuery::Execute[] - starting query execution [12:07:28] [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 '2 = 'asdasd' WHERE ID = 53' at line 1 [12:07:28] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
Code:
format(query,sizeof(query),"UPDATE factions SET Rank 1 = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"",""); |
format(query,sizeof(query),"UPDATE factions SET `Rank 1` = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"","");
Code:
format(query,sizeof(query),"UPDATE factions SET `Rank 1` = '%s' WHERE ID = %d",inputtext,EditingFacid); mysql_function_query(Connection,query,false,"",""); |