in reply to DB Not UPDATE-ing
As people have suggested individually, one of two things is going on, and I can't tell whether you've provided enough information for us to tell which.
If the schema (as show by describe mytable) shows that unsubscribedby can be NULL, and if that column holds NULL (as opposed to an empty string), then
won't match. You'll need to writewhere unsubscribedby=''
instead.where unsubscribed is null
But, if that column really is holding a blank string, then changes are good that $_ doesn't hold what you think it does. Perhaps leading or trailing whitespace, or a newline on the end.
|
|---|