Welcome Guest, Not a member yet? Register   Sign In
DB queries NOT failing when they should.
#3

[eluser]boltsabre[/eluser]
Thanks for the quick reply champ!

Quote: MySQL doesn’t do strict type comparisons when it comes to WHERE clauses, so the string is simply “not found” and no results are returned.

That's what I'm getting at, it's NOT doing that, it's returning results for bogus string ids such as "1abc". I certainly don't have "1abc" in my table as an ID. Am I still missing something? Is MySQL stripping the non-int characters out because it knows my column in int(11)?


Messages In This Thread
DB queries NOT failing when they should. - by El Forum - 12-06-2012, 04:02 AM
DB queries NOT failing when they should. - by El Forum - 12-06-2012, 04:14 AM
DB queries NOT failing when they should. - by El Forum - 12-06-2012, 04:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB