title: NOt getting the array - PHP JSON Explode
body: <p>I am trying to explode the JSON file below with the 2 arrays but keep getting an output of..</p>
  
  <pre><code>Array
  (
  [0] =&gt;
  )
  Array
  (
  [0] =&gt;
  )
  </code></pre>
  
  <p><strong>What am I doing wrong?</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>[0]=&gt;
  array(2) {
  ["question_id"]=&gt;
  string(2) "88"
  ["weight"]=&gt;
  string(1) "5"
  }
  [1]=&gt;
  array(2) {
  ["question_id"]=&gt;
  string(2) "89"
  ["weight"]=&gt;
  string(1) "5"</code></pre>
  </div>
  </div>
  </p>
  
  <pre><code>$quest_id = $data["question_id"];
  $quest_points = $data["weight"];
  
  $quest_id_array = explode(" ,", $quest_id);
  $quest_points_array = explode(" ,", $quest_points);
  
  print_r($quest_id_array);
  print_r($quest_points_array);
  </code></pre>