01.03.2015, 22:29
Whats wrong?,
pawn Код:
mysql_function_query(Query);
mysql_function_query(Query);
mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... );
mysql_function_query(connectionHandle, "UPDATE `foo` SET `bar` = 1", false, "CustomResponse", "dsf", 1337, "string", 1.5634);
public CustomResponse(integer, string[], Float:float)
{
printf("Query successful executed. Data: %d | %s | %f", integer, string, float);
return 1;
}
pawn Код:
pawn Код:
|
new connection = mysql_connect(.....) new query[255]; mysql_format(connection,query,sizeof(query),"UPDATE `foo` SET `bar` = 1"); mysql_tquery(connection,query,"Test","s","Query successful"); public Test(message[]) { printf("%s",message); }