password update problem with md5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbettadpur
    New Member
    • Aug 2007
    • 121

    password update problem with md5

    hello,


    I am getting some problem while updating password field in my application.

    let me explain briefly i have table called "A" in that i have two fields Recruiter_Name and Confm_Passwd. if i want to update Recruiter_Name and Confm_Passwd its not updating.

    the query i am using for updation is
    [code=mysql]
    UPDATE recruiter_profi le
    SET Recruiter_Name= 'ravish'
    AND Confm_Passwd=md 5('ravish')
    WHERE Emp_Code='18';
    [/code]
    If i remove Confm_Passwd=md 5('ravish') it will work.
    Last edited by Atli; Jun 25 '08, 06:32 AM. Reason: Added [code] tags and formatted the query to make it more readable.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    Are you getting any errors?
    What type of field is the password field?

    Also, please use [code] tags when posting your code / queries.

    Comment

    Working...