26.04.2016, 08:48
i dont understand.. it should work..but cant not function. why? the mysql_log indicates it cant not recognize the escaped string
mysql_escape_string(inputtext, inputtext); new string[128]; format(string, sizeof(string), "UPDATE `table` SET `Field` = '%s' WHERE `Condition` = 1", inputtext); mysql_tquery(connectionHandle, string, "");
new string[128]; mysql_format(connectionHandle, string, sizeof(string), "UPDATE `table` SET `Field` = '%e' WHERE `Condition` = 1", inputtext); mysql_tquery(connectionHandle, string, "");