Reputation: 662
I want to use hash to verify email existence. I've tried this code and it somehow doesn't work. Is there any mistake or should I look elsewhere?
The code:
SELECT id FROM users WHERE MD5(email+'*salt*')='*some value*' AND checked='0'
Upvotes: 0
Views: 66