I want to replace a string inside a text field named "text".
Here is a query which would show the records which contain the offending code which I want to strip out:
I want to remove <b class=titler>ANYTEXT BETWEEN THE TAGS </b>
The table is large, about 13,000 rows. Can anyone direct me how to write the query which would strip out this title line from inside the text or direct me to a PHP script someplace that would do the trick?
Thanks in advance.
MrsBean
Here is a query which would show the records which contain the offending code which I want to strip out:
Code:
SELECT * FROM articlestable where text like Concat('%', '<b class=titler>', '%', '</b>', '%')
I want to remove <b class=titler>ANYTEXT BETWEEN THE TAGS </b>
The table is large, about 13,000 rows. Can anyone direct me how to write the query which would strip out this title line from inside the text or direct me to a PHP script someplace that would do the trick?
Thanks in advance.
MrsBean