List:General Discussion« Previous MessageNext Message »
From:Marc Antony Vose Date:October 12 1999 12:46am
Subject:md5() in where clause
View as plain text  
hey there...

i'm trying to do this:

select blah blah from tablename where MD5(password)='md5_string_from_php';

password is a column in the table tablename

mysql keeps saying there is a SQL error at the beginning of the 
parentheses after MD5.

can i not perform an MD5 calculation on a column name like that?

Marc Antony Vose

Democracy is government by Squawk.
-- Kenneth Boulding
md5() in where clauseMarc Antony Vose12 Oct
  • Re: md5() in where clauseBob Kline12 Oct