I was doing a test with mysql. this is the code
The question is, password does not take the md5 value of 'aa'.PHP Code:update login set password=md5('aa') where login_id =1;
Possible to do it in 1 single SQL statement?
I know in PHP I can store the md5 value in a variable before passing as password="{$stored_md5}". Just curious about SQL statement.









Bookmarks