Weird problem
#4

(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:
Код:
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 '%'
Reply


Messages In This Thread
Weird problem - by [IL]HeHu - 09.09.2011, 18:26
Re: Weird problem - by Kaperstone - 09.09.2011, 18:30
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:34
Re: Weird problem - by Kaperstone - 09.09.2011, 18:40
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:42
Re: Weird problem - by Kaperstone - 09.09.2011, 18:45
Re: Weird problem - by [IL]HeHu - 09.09.2011, 18:49
Re: Weird problem - by Kaperstone - 09.09.2011, 19:02
Re: Weird problem - by [IL]HeHu - 09.09.2011, 19:03
Re: Weird problem - by Kaperstone - 09.09.2011, 19:06

Forum Jump:


Users browsing this thread: 3 Guest(s)