24.11.2016, 20:07
If you copy the query to notepad and fill in the full length of an IP address, your query is too short:
SELECT `Username` from `players` WHERE `IP` = '123.123.123.123'
This query counts 63 characters and you also need a null char to end the string, so your query needs to be at least 64 chars long, 60 is too short.
SELECT `Username` from `players` WHERE `IP` = '123.123.123.123'
This query counts 63 characters and you also need a null char to end the string, so your query needs to be at least 64 chars long, 60 is too short.