25.06.2017, 12:41
Код:
SaveSQLStr(HouseData[houseid][HouseID], "houses", "OwnerName", HouseData[houseid][HouseOwnerName]);
Here's my SaveSQLStr :
Код:
Server:SaveSQLStr(sqlid, table[], row[], value) { new query[500]; mysql_format(sqlBaglanti, query, sizeof query, "UPDATE %e SET %e = '%s' WHERE id = '%i'", table, row, value, sqlid); mysql_pquery(sqlBaglanti, query); return true; }
For example, if the owners name is "Harold Kingston". It saves it like this: "HHarold Kingston". I couldn't figure out what is wrong.