09.09.2011, 18:40
(i think your string is not good)
try this : format(string, sizeof(string), "SELECT `string` FROM `blogs` WHERE `bid` = '%s' LIMIT 5", acc);
Strings Info:
try this : format(string, sizeof(string), "SELECT `string` FROM `blogs` WHERE `bid` = '%s' LIMIT 5", acc);
Strings Info:
Код:
Format Strings Placeholder Meaning %b Inserts a number at this position in binary radix %c Inserts a single character. %d Inserts an integer (whole) number %f Inserts a floating point number. %i Inserts an integer. %s Inserts a string. %x Inserts a number in hexadecimal notation. %% Inserts the literal '%'