I inserted into user_name and user_password the values zach and sha1('zach'). I then tried to retrieve it with SELECT * FROM user_data WHERE user_name='zach' && user_password=SHA1('zach');
But it shows zero results. When I insert it it shows, but I can't retrieve it. Any ideas?