mysql_format(SQL, string, sizeof(string), "UPDATE `stock` SET `Price`='%d',`Stock`='%d' WHERE `vid`='%d'",price,stocks,model); mysql_tquery(SQL, string, "", "");