More precisely:
i want to check if the user enters his same password as the one store in the DB for its profile. i have tried something like this but i dont get an echo:
$query2=mysql_query("SELECT emails_password,emails_id FROM lala.in_emails WHERE emails_password ='md5($password)' AND emails_id='".$_COOKIE['LALA_ID']."'")or die(mysql_error());
if(mysql_num_rows($query2)>0){echo "same pass";}
so maybe the md5 algo always changes?
Those single quotes (‘) around md5($password) should be removed. And no, MD5 hash does not change.