Problem with %%%S%
#1

Hi !

i am doing an sql system, so in an cmd, i need to cound number of players,

So i did


Код:
mysql_real_escape_string(inputtext, pseudosafe);
			format(query, sizeof(query), "SELECT COUNT(*) FROM `table_account` WHERE Nam LIKE '%%s%'",pseudosafe);
But the %%s% fucked up with the pseudosafe.

What can i do?

Max
Reply


Messages In This Thread
[Solved]Problem with %%%S% - by scott1 - 13.01.2011, 19:21
Re: Problem with %%%S% - by NewbBeginner - 13.01.2011, 19:22
Re : Problem with %%%S% - by scott1 - 13.01.2011, 19:23
Re : Problem with %%%S% - by scott1 - 13.01.2011, 19:24
Re: Problem with %%%S% - by Biesmen - 13.01.2011, 19:24
Re: Re : Problem with %%%S% - by PeteShag - 13.01.2011, 19:29
Re: Problem with %%%S% - by Sergei - 13.01.2011, 19:32
Re : Problem with %%%S% - by scott1 - 13.01.2011, 19:33
Re : Problem with %%%S% - by scott1 - 13.01.2011, 19:43

Forum Jump:


Users browsing this thread: 4 Guest(s)