title: How to save PHP array in database by converting array into JSON?
body: <p>Here is a my PHP array. I want to convert it into JSON. after a converting to JSON. than after I want to save it in database how can I achieve this?</p>
  
  <pre><code>Array
  (
      [0] =&gt; 6:30pm
      [1] =&gt; 
  )
  Array
  (
      [0] =&gt; 8:00pm
      [1] =&gt; 
  )
  </code></pre>