mysql_format(SQL, query, sizeof(query), "UPDATE %s SET %s=%d WHERE %s=%d", table, column, value, sqlID, sqlid); mysql_tquery(SQL, query);