Using MD5 in MySQL -


i want use hash verify email existence. i've tried code , somehow doesn't work. there mistake or should elsewhere?

the code:

select id users md5(email+'*salt*')='*some value*' , checked='0' 

you don't use + concatenate strings. use concat:

select id users md5(concat(email,'*salt*'))='*some value*' , checked='0' 

Comments

Popular posts from this blog

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -