Quote:
Originally Posted by Luke_James
PHP код:
format(query, sizeof(query), "UPDATE `licenses` SET `licID` = '%d', `ownerID` = '%d', `issuerID` = '%d', `issueDate` = '%s' WHERE `ID` = '%d'",
LicenseData[playerid][licID],
LicenseData[playerid][ownerID],
LicenseData[targetid][issuerID],
LicenseData[playerid][issueDate]
);
All of that?
|
Whatever you format here will be inserted into `query`. If your intended query is longer than 767 characters, it won't send the full query. Though, your array length should be fine for such short query.