I have a message board that is a bit screwy with older posts, so I thought I would update some of the 'messed up' HTML.
In the content of some posts, I have the following: <br>
This should be: <br>
How do I write the UPDATE to change just this string and not affect the rest of the content of the field?
UPDATE table_name SET field_1 = '<br>' WHERE field_1 = '&lt;br&gt;'
This will not work, as it will find nothing, and change nothing.
UPDATE table_name SET field_1 = '<br>' WHERE field_1 = '%&lt;br&gt;%'
This would possibly mess up the entire post...
Help?