10.01.2015, 18:48
Try with this:
pawn Код:
new query[300];
mysql_format(/*YOUR MYSQL HANDLE*/, query, sizeof(query), "UPDATE players SET `Approved`='%s' WHERE `Name` = '%s'",tmp, giveplayer);
mysql_tquery(/*YOUR MYSQL HANDLE*/, query, "", "");