title: Mysql query insert multiple table same id
body: <p>I have two table in my mysql database and when I add a new post (by PHP) a new row is created in it:</p>
  
  <pre><code>-Post(ID,title,body)
  
  -pictures(id,id_post,path_picture)
  </code></pre>
  
  <p>How could I achieve to pass the <code>post ID</code> to the relative <code>pictures id_post</code> ?</p>