我使用的是wordpress站点,但对于站点的一部分,我决定手动连接到数据库,基本上绕过wordpress来编辑数据库和检索结果。这是为页面显示的源代码:
<!DOCTYPE html> <!undefined function language_attributes() in C:\wamp\www\thurston\wp-content\themes\twentyeleven\header.php\editdb.php<b>:</b>3<
是否可以替换html文本中的字符串,但在超链接标记(锚文本)中除外。The name of my dog is Mike. I always <a href="...."而不是用猫代替狗,而不是锚文本中的狗。因此,结果应该是:
The name of my cat is Mike. I always <a href="...."