27.02.2017, 18:52
What is "%e" standing in your query?
So I took little search on internet, and look what I found about %e.
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:
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.
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"