Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/57.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/database/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用mysql删除多篇文章中的多个html链接_Mysql_Database - Fatal编程技术网

如何使用mysql删除多篇文章中的多个html链接

如何使用mysql删除多篇文章中的多个html链接,mysql,database,Mysql,Database,我想删除以前使用mysql查询时使用的各种html链接。这是一个指向上一页/下一页的链接,因为我过去对php导航链接了解不多 <p> <a href="https://mysite/clone/2018/07/21/chapter12">Previous</a> <a href="https://mysite/clone/2018/07/21/novel-name">Index</a> <a

我想删除以前使用mysql查询时使用的各种html链接。这是一个指向上一页/下一页的链接,因为我过去对php导航链接了解不多

<p>
<a href="https://mysite/clone/2018/07/21/chapter12">Previous</a>
<a href="https://mysite/clone/2018/07/21/novel-name">Index</a>
<a href="https://mysite/clone/chapter14">Next</a>
</p>
谢谢你的帮助

UPDATE wp_posts SET post_content = REPLACE (post_content, 'the links i want to delete', '');