From: Kenneth Hylton <[EMAIL PROTECTED]> > Basically, if you encrypt the password, then you have to look it up using > the password function, too.
What he means is this: SELECT user_id FROM user WHERE PASSWORD(user_pass) = PASSWORD('my_var') --- Rodney Broom Programmer: Desert.Net sql --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php