0

我的论坛有几百个用户,他们有几年前相同的过期签名,看起来像这样:

[img]http://url.com/~expiredimage.jpg[/img]

[img] 标签是用于在论坛脚本中显示图像的 BBCode。论坛软件是XenForo。

有没有办法可以从 phpMyAdmin 中批量删除所有这些签名?如果是这样,您能否告诉我要运行的确切步骤和查询?

4

2 回答 2

4

If any occurrence of 'expiredimage.jpg' needs to be changed, you can do it directly with

UPDATE tablename set signature = 'new signature that you want them to have'
WHERE signature like '%expiredimage.jpg%';

That will change anybody with a signature that references expiredimage.jpg to the signature you specify in the query.

于 2013-12-24T19:20:07.650 回答
0

phpMyAdmin 4.1 在表格搜索菜单下有一个查找和替换功能。

于 2013-12-26T11:57:29.900 回答