rockindano30 Posted May 15, 2008 Share Posted May 15, 2008 hello all, i have a problem. this line here says that i have 0 records SELECT * FROM users WHERE Uname='user1' AND Pword='user1' but i realy have on record with user name (Uname) user1 and Password (Pword) user1 but if i do this it does show my record SELECT * FROM users WHERE Uname='user1'; and it also says that i have 0 records if i use SELECT * FROM users WHERE Pword='user1'; any help? Quote Link to comment Share on other sites More sharing options...
mezise Posted May 15, 2008 Share Posted May 15, 2008 It might be a typo or whitespace character at the beginning or at the end of Pword value. My advice is that you should not use unencrypted way of storing passwords. Quote Link to comment Share on other sites More sharing options...
fenway Posted May 16, 2008 Share Posted May 16, 2008 Databases don't lie... if that's what it says, that's what it is... but I depends how you're "counting" the records. What's "it"? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.