Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
MySQL wierdness
Minisweeper
New
So i'm just making this thing for school and i have a table full of user details. I'm trying to validate a login based on a userID and password. Easy, right?
BUT, when i do a sql query like
SELECT pupilID,FirstName,LastName,email,password FROM `pupils` WHERE `pupilID`='15' AND `password`='GC5670106' LIMIT 1
It returns no users. Skip the password or swap it out for something like FirstName and it works fine. It just doesnt wanna search on the password and i cant work out why.
The charset/whatever is the same for all types of data (latin1_swedish_ci) and i see no reason the password shouldnt fit that.
Ideas, anyone?
0
This discussion has been closed.
Comments