Need small help to select md5 hash field

This what i have:
[php]
$q = mysql_query(“SELECT email FROM users WHERE email=’(md5($email))’”);
[/php]
Not work what to use instead?

Hello

[php]
$q = mysql_query(“SELECT email FROM users WHERE email=’”.md5($email)."’");
[/php]

OR

[php]
$md5_email =md5($email);
$q = mysql_query(“SELECT email FROM users WHERE email=’$md5_email’”);
[/php]

let know which one worked for you

Thank you so much!
don’t know why i don’t found this before. thanks!

I marked the thread solved.

Your welcome

happy coding

Sponsor our Newsletter | Privacy Policy | Terms of Service