title: How to insert my records before the deletion is execute (record logs)?
body: <p>How to insert my records before the deletion is execute (record logs)?
  I am using SQL PDO PHP.</p>
  <p>Here is my code for delete:
  <a href="https://i.stack.imgur.com/VDFU4.png" rel="nofollow noreferrer">1</a>: <img src="https://i.stack.imgur.com/VDFU4.png" alt="Code for deletion" /></p>
  <p>Here is my code for insert:
  <a href="https://i.stack.imgur.com/DhQ6g.png" rel="nofollow noreferrer">2</a>: <img src="https://i.stack.imgur.com/DhQ6g.png" alt="Code for insert" /></p>