title: How can I put JSON to MySQL with PHP loop?
body: <p>I have JSON like this (from nested sorting)</p>
  
  <pre><code>[
   {"id":13},{"id":14},
   {"id":15,
     "children":[
            {"id":16},{"id":17},{"id":18}
      ]
   },
   {"id":19},{"id":20},
   {"id":21,
        "children":[
            {"id":22}
        ]
   }
  ]
  </code></pre>
  
  <p>how I PHP loop to put this JSON in MySQL</p>
  
  <p>Thank you.</p>