MySQL lost connection?
#4

What is "%e" standing in your query?

So I took little search on internet, and look what I found about %e.
Код:
%e prints the number in scientific notation, e.g. 3.2165e+2.
It`s in C language. I guess that you want to load string from your query, so make it %s instead of using %e.

PlayerName is string.
IP is string.

Second thing If I would be you, I would use this kind of query:
PHP код:
"SELECT * FROM `bans` WHERE `IP` = '%s' LIMIT 1" 
Reply


Messages In This Thread
MySQL lost connection? - by Banditul18 - 27.02.2017, 16:25
Re: MySQL lost connection? - by Yousha - 27.02.2017, 18:16
Re: MySQL lost connection? - by Banditul18 - 27.02.2017, 18:38
Re: MySQL lost connection? - by Sanady - 27.02.2017, 18:52
Re: MySQL lost connection? - by PowerPC603 - 27.02.2017, 19:06
Re: MySQL lost connection? - by Banditul18 - 27.02.2017, 22:22
Re: MySQL lost connection? - by Yousha - 28.02.2017, 00:15
Re: MySQL lost connection? - by Banditul18 - 28.02.2017, 11:03
Re: MySQL lost connection? - by CrossUSAAF - 28.02.2017, 11:18
Re: MySQL lost connection? - by PowerPC603 - 09.03.2017, 21:32
Re: MySQL lost connection? - by Banditul18 - 11.03.2017, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)