Home  >  Q&A  >  body text

How to delete articles and pictures uploaded by the editor in PHP? ?

I developed a blog website myself, using the tp5.0 framework. The content of the published article quoted Baidu Editor. Now I encountered a problem. When deleting this article, I deleted the Baidu Editor ( ueditor) are also deleted. How to solve this?

HLZ@HLZ@1540 days ago1065

reply all(2)I'll reply

  • 火焰科技

    火焰科技2020-08-25 18:33:50

    When uploading images, it will be easier to save the path separately in the database.

    reply
    0
  • HLZ@

    I saved it directly into a data table

    HLZ@ · 2020-08-26 09:06:01
  • Cancelreply