任何人都可以幫我解決一些我無法解決的問題。我想在php_text替換動態文本SQL
Exemple [i] => [i:rlj7bc53]
Exemple [u] => [u:rlj7bc53]
Exemple [b] => [/b:rlj7bc53]
更新設置高亮標記,也
[quote="Christo"] => [quote="Christo":rlj7bc53]
因爲我已經使用這個請求的時刻。
update phpbb_posts
set post_text = replace(post_text, '[/quote]' , '[/quote:rlj7bc53]')
您正在使用哪些DBMS?例如,Oracle有regexp_replace,對此非常有用。 –