[RSS Feed/News] Mysql strings to replace characters

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I need 3 mysql strings to replace things.
First one is like this:
Code:

UPDATE xf_post SET message = REPLACE(message, '>', '>');
but this gives an error in the used syntax at "> it says. While there is only one ' in the string there.

The second one is the same, but then for &lt; which needs to be replace to a < character.

The third one is trickier. I need the &quot; be changed to the " character.

Maybe some others can benefit from this too as...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom