I wonder if anyone can help me write a MySQL query. I noticed that in my email database I have a huge number of users who have passed my automatic verification of entries that I want to note. They all have the form abcdef123@hotmail.com, where abcdefare random names of variable length, then a three-digit number.
I have a field in my table under the name fld_badthat I want to change to 1 in the query.
So something like
UPDATE tbl_users SET fld_bad = "1" WHERE fld_email .....
Obviously, this .....is where my knowledge fails!
source
share