I am running this query to update a password field on user with email x@mail.com and want to update his password, but I am having error. The mysql query:
UPDATE users
SET password=myword
WHERE email=x@mail.com;
The password field is an md5 encrypted field.
The error I got is
#1054 - Unknown column 'myword' in 'field list'
This is my table structure: the mysql table structure
I tried to put the values in "" and '' as well as `` but still the error occurs.