MySQL AND operator
#7

Quote:
Originally Posted by Alcatrik
View Post
Can you throw in a print(query)? I'm wondering whether mysql_format isn't actually formatting it properly - your query is executing successfully, which suggests the IP might be being fucked? I had a couple of issues a year or two back with mysql_format glitching out and not replacing %e because of something weird like array sizes.
There you go
Code:
SELECT `BannedBy`, `BanReason`, `BannedDate`, `Username` FROM `Users` WHERE `IP`='127.0.0.1' AND `Banned`=1
Reply


Messages In This Thread
MySQL AND operator - by NeXoR - 10.10.2016, 22:41
Re: MySQL AND operator - by WhiteKinG - 10.10.2016, 23:24
Re: MySQL AND operator - by NeXoR - 10.10.2016, 23:31
Re: MySQL AND operator - by Isolated - 10.10.2016, 23:34
Re: MySQL AND operator - by NeXoR - 10.10.2016, 23:52
Re: MySQL AND operator - by Alcatrik - 11.10.2016, 00:23
Re: MySQL AND operator - by NeXoR - 11.10.2016, 08:36
Re: MySQL AND operator - by iLearner - 11.10.2016, 09:25
Re: MySQL AND operator - by NeXoR - 11.10.2016, 10:26
Re: MySQL AND operator - by NeXoR - 11.10.2016, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)